mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue