diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-18 14:45:24 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-18 14:45:36 -0500 |
commit | 97f180c432fb250fe5683cc88f2112c14414a483 (patch) | |
tree | 02c50f9577f0493d98c2e7b0a792ec8ffd38bbb3 /libs/ardour/midi_ui.cc | |
parent | ce7f7e8e007ff46af884478bfb156013e8c916e6 (diff) |
IP MIDI debugging
Diffstat (limited to 'libs/ardour/midi_ui.cc')
-rw-r--r-- | libs/ardour/midi_ui.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/midi_ui.cc b/libs/ardour/midi_ui.cc index 1d2fe7c7e1..8d924350bf 100644 --- a/libs/ardour/midi_ui.cc +++ b/libs/ardour/midi_ui.cc @@ -85,8 +85,9 @@ 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())); - + cerr << "Something happened on " << boost::shared_ptr<ARDOUR::Port> (port)->name() << " ioc = " << hex << ioc << dec << endl; if (ioc & ~IO_IN) { + cerr << "....no input ... do nothing\n"; return false; } @@ -94,6 +95,7 @@ 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())); + cerr << "....input appears ready\n"; framepos_t now = _session.engine().sample_time(); port->parse (now); } |