From eddcc868ba7786a7039edd1a96acbcac83499007 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 13 Jul 2013 08:26:54 -0400 Subject: Disable non-realtime midi ports in windows build - THIS NEEDS FIXING --- libs/ardour/midi_ui.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/midi_ui.cc') diff --git a/libs/ardour/midi_ui.cc b/libs/ardour/midi_ui.cc index 78da32e427..82261b58ec 100644 --- a/libs/ardour/midi_ui.cc +++ b/libs/ardour/midi_ui.cc @@ -104,7 +104,9 @@ MidiControlUI::midi_input_handler (IOCondition ioc, MIDI::Port* port) if (ioc & IO_IN) { +#ifndef WIN32 CrossThreadChannel::drain (port->selectable()); +#endif DEBUG_TRACE (DEBUG::MidiIO, string_compose ("data available on %1\n", port->name())); framepos_t now = _session.engine().frame_time(); -- cgit v1.2.3