projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ed56b
)
midi-panic needs to honor split-cycle buffer offset,
author
Robin Gareus
<robin@gareus.org>
Sat, 28 Nov 2015 21:33:43 +0000
(22:33 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sat, 28 Nov 2015 21:33:43 +0000
(22:33 +0100)
otherwise panic message will be delivered out-of-order when
seamlessly looping.
libs/ardour/midi_port.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/midi_port.cc
b/libs/ardour/midi_port.cc
index d959ff9d91d758ac2524baef07d221bdf5cf7d08..771bfb979fb530f899f8daaa7b62407f7280d5a8 100644
(file)
--- 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;
}