diff options
author | Robin Gareus <robin@gareus.org> | 2015-11-28 22:33:43 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-11-28 22:33:43 +0100 |
commit | aa8d512ee727e9f8606144ef87fb7634377ec560 (patch) | |
tree | fe6b058454f49aa936915b797ca2acfe72a15101 /libs/ardour/midi_port.cc | |
parent | 03ed56b2479f4942aaff4533b50c3167288e4e8b (diff) |
midi-panic needs to honor split-cycle buffer offset,
otherwise panic message will be delivered out-of-order when
seamlessly looping.
Diffstat (limited to 'libs/ardour/midi_port.cc')
-rw-r--r-- | libs/ardour/midi_port.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/midi_port.cc b/libs/ardour/midi_port.cc index d959ff9d91..771bfb979f 100644 --- a/libs/ardour/midi_port.cc +++ b/libs/ardour/midi_port.cc @@ -196,7 +196,7 @@ MidiPort::flush_buffers (pframes_t nframes) if (_resolve_required) { port_buffer = port_engine.get_buffer (_port_handle, nframes); /* resolve all notes at the start of the buffer */ - resolve_notes (port_buffer, 0); + resolve_notes (port_buffer, _global_port_buffer_offset); _resolve_required = false; } |