projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d1cfe48
)
fix mis-ordering of MIDI events when merging MidiBuffers in-place
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 22 Nov 2011 20:29:12 +0000
(20:29 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 22 Nov 2011 20:29:12 +0000
(20:29 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10779
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/midi_buffer.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/midi_buffer.cc
b/libs/ardour/midi_buffer.cc
index f62a3b4c39a926489535294be36c982e50903896..7138d5258911ae24aad497fc06dc0d7b411eb6b8 100644
(file)
--- a/
libs/ardour/midi_buffer.cc
+++ b/
libs/ardour/midi_buffer.cc
@@
-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;
}