fix bug in MidiStateTracker::resolve_notes() involving argument reversal when constructing a NoteOff event (thanks to lincoln for this)
git-svn-id: svn://localhost/ardour2/branches/3.0@6805 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f297e9fa51
commit
10c257039d
@ -100,7 +100,7 @@ MidiStateTracker::resolve_notes (MidiBuffer &dst, nframes64_t time)
|
||||
while (_active_notes[note + 128 * channel]) {
|
||||
uint8_t buffer[3] = { MIDI_CMD_NOTE_OFF | channel, note, 0 };
|
||||
Evoral::MIDIEvent<MidiBuffer::TimeType> noteoff
|
||||
(time, MIDI_CMD_NOTE_OFF, 3, buffer, false);
|
||||
(MIDI_CMD_NOTE_OFF, time, 3, buffer, false);
|
||||
dst.push_back (noteoff);
|
||||
_active_notes[note + 128 * channel]--;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user