From 0a6eed2b33c7abbfdd5fac6448fbfe495c8f5dda Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 18 Jan 2016 16:57:50 -0500 Subject: remove ipmidi debugging --- libs/ardour/midi_ui.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libs/ardour/midi_ui.cc') diff --git a/libs/ardour/midi_ui.cc b/libs/ardour/midi_ui.cc index 6b629aabd5..1d2fe7c7e1 100644 --- a/libs/ardour/midi_ui.cc +++ b/libs/ardour/midi_ui.cc @@ -85,9 +85,8 @@ bool MidiControlUI::midi_input_handler (IOCondition ioc, boost::shared_ptr port) { DEBUG_TRACE (DEBUG::MidiIO, string_compose ("something happend on %1\n", boost::shared_ptr (port)->name())); - cout << "Something happened on " << boost::shared_ptr (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_ptrclear (); DEBUG_TRACE (DEBUG::MidiIO, string_compose ("data available on %1\n", boost::shared_ptr(port)->name())); - cout << "....input appears ready\n"; framepos_t now = _session.engine().sample_time(); port->parse (now); } -- cgit v1.2.3