triggerbox: resolve MIDI notes at end of buffer, not one beyond the end

This commit is contained in:
Paul Davis 2021-12-04 11:50:00 -07:00
parent b3f866b86e
commit 65c69b6818
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {