fix mis-ordering of MIDI events when merging MidiBuffers in-place
git-svn-id: svn://localhost/ardour2/branches/3.0@10779 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d1cfe482a8
commit
b27200688b
@ -318,7 +318,7 @@ MidiBuffer::merge_in_place(const MidiBuffer &other)
|
||||
the event referenced by "us"
|
||||
*/
|
||||
|
||||
while (them != other.end() && (*them).time() <= (*us).time()) {
|
||||
while (them != other.end() && (*them).time() < (*us).time()) {
|
||||
if (src == -1) {
|
||||
src = them.offset;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user