Files
ardour/libs
Paul Davis 4749fcef86 fix incorrect handling of MIDI data by AsyncMIDIPort
This type of MIDI port fetches all of its data from inside ::cycle_start(),
and delivers it to a FIFO connected to another thread (typically a
control surface).

Unlike regular MidiPorts, which will be read from inside a Session::process()
call, these ports will read their data once per AudioEngine::process() cycle.
They therefore cannot use MidiPort::get_midi_buffer() which scales and adjusts
event timestamps as if the data is being accessed from within Session::process().

It is still an open question whether or not AsyncMIDIPort::cycle_start() should
still scale event timestamps by speed. In some respects it seems more appropriate
to do so, and the reading thread (e.g. a control surface) doesn't care about
the "nframes" limit on timestamps that exists for calls within a Session::process()
tree. For now, leave the timestamps unscaled by speed.
2020-02-24 18:44:58 -07:00
..
2020-01-14 00:52:24 +01:00
2020-02-24 23:01:15 +01:00
2020-01-27 17:43:37 +01:00
2020-01-25 04:07:41 +01:00
2020-02-06 17:30:21 +01:00
2020-01-27 17:43:37 +01:00
2020-01-25 04:07:41 +01:00
2020-02-24 05:29:56 +01:00
2020-01-22 02:00:25 +01:00
2020-01-14 00:52:24 +01:00
2020-01-27 03:31:49 +01:00
2019-09-03 05:01:59 +02:00
2020-01-14 00:52:24 +01:00
2020-01-22 02:00:25 +01:00
2020-01-22 02:00:25 +01:00