part-way through getting the audioengine changes to compile
[ardour.git] / libs / ardour / midi_ui.cc
index 78da32e4273472449e6b023f889c24e3e5854c4b..0d9ac1760150c54b7bc5e612dd34c7216d76d17a 100644 (file)
@@ -107,7 +107,7 @@ MidiControlUI::midi_input_handler (IOCondition ioc, MIDI::Port* port)
                CrossThreadChannel::drain (port->selectable());
 
                DEBUG_TRACE (DEBUG::MidiIO, string_compose ("data available on %1\n", port->name()));
-               framepos_t now = _session.engine().frame_time();
+               framepos_t now = _session.engine().sample_time();
                port->parse (now);
        }