triggerbox: resolve MIDI notes at end of buffer, not one beyond the end
This commit is contained in:
parent
b3f866b86e
commit
65c69b6818
@ -1352,7 +1352,7 @@ MIDITrigger::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sam
|
||||
|
||||
if (_state == Stopping) {
|
||||
DEBUG_TRACE (DEBUG::Triggers, string_compose ("%1 was stopping, now stopped\n", index()));
|
||||
tracker.resolve_notes (mb, nframes);
|
||||
tracker.resolve_notes (mb, nframes-1);
|
||||
}
|
||||
|
||||
if (iter == model->end()) {
|
||||
|
Loading…
Reference in New Issue
Block a user