13
0

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:
Paul Davis 2011-11-22 20:29:12 +00:00
parent d1cfe482a8
commit b27200688b

View File

@ -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;
}