copy plugin state to all instances when instantiating.
[ardour.git] / libs / ardour / midi_ui.cc
index 6b629aabd5b221ec3e71a4ffdf42f36b9d8eb867..1d2fe7c7e1b4a2b2b6fcdb02357c7f54a9231f2e 100644 (file)
@@ -85,9 +85,8 @@ bool
 MidiControlUI::midi_input_handler (IOCondition ioc, boost::shared_ptr<AsyncMIDIPort> port)
 {
        DEBUG_TRACE (DEBUG::MidiIO, string_compose ("something happend on  %1\n", boost::shared_ptr<ARDOUR::Port> (port)->name()));
-       cout << "Something happened on " << boost::shared_ptr<ARDOUR::Port> (port)->name() << " ioc = " << hex << ioc << dec << endl;
+
        if (ioc & ~IO_IN) {
-               cout << "....no input ... do nothing" << endl;
                return false;
        }
 
@@ -95,7 +94,6 @@ MidiControlUI::midi_input_handler (IOCondition ioc, boost::shared_ptr<AsyncMIDIP
 
                port->clear ();
                DEBUG_TRACE (DEBUG::MidiIO, string_compose ("data available on %1\n", boost::shared_ptr<ARDOUR::Port>(port)->name()));
-               cout << "....input appears ready\n";
                framepos_t now = _session.engine().sample_time();
                port->parse (now);
        }