diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-27 10:57:36 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-27 10:57:36 +0000 |
commit | d7a32eb85e84a2893996435c611ee020c40eb9b1 (patch) | |
tree | 95489cb93f5a1408fdeaca57b0d1a130c61ccb95 /libs | |
parent | e3f73f265511cb6890e646094956da8c438e3505 (diff) |
MCP: remember to drain the x-thread FIFO that tells us that JACK MIDI data has been received
git-svn-id: svn://localhost/ardour2/branches/3.0@12453 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/mackie/mackie_control_protocol.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/mackie_control_protocol.cc b/libs/surfaces/mackie/mackie_control_protocol.cc index f8aada29bc..0fd9743a7d 100644 --- a/libs/surfaces/mackie/mackie_control_protocol.cc +++ b/libs/surfaces/mackie/mackie_control_protocol.cc @@ -1133,6 +1133,8 @@ MackieControlProtocol::midi_input_handler (IOCondition ioc, MIDI::Port* port) if (ioc & IO_IN) { + CrossThreadChannel::drain (port->selectable()); + DEBUG_TRACE (DEBUG::MackieControl, string_compose ("data available on %1\n", port->name())); framepos_t now = session->engine().frame_time(); port->parse (now); |