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
This commit is contained in:
Paul Davis 2012-05-27 10:57:36 +00:00
parent e3f73f2655
commit d7a32eb85e
1 changed files with 2 additions and 0 deletions

View File

@ -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);