From f5ef5f44a31507ebeff7c53d19ccaecb3212afc0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 18 Feb 2022 12:55:45 -0700 Subject: [PATCH] triggerbox: include change intended to be in cb815bf8d This properly splits the condition into "before final beat" and "after final beat" --- libs/ardour/triggerbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 1ce0e73fb1..44350a3220 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -2495,7 +2495,7 @@ MIDITrigger::midi_run (BufferSet& bufs, samplepos_t start_sample, samplepos_t en DEBUG_TRACE (DEBUG::Triggers, string_compose ("%1 reached end, leb %2 les %3 fb %4 dl %5\n", index(), last_event_timeline_beats, last_event_samples, final_beat, data_length)); - if (last_event_timeline_beats <= final_beat) { + if (last_event_timeline_beats < final_beat) { DEBUG_TRACE (DEBUG::Triggers, string_compose ("%1 entering playout because ... leb %2 < fb %3\n", index(), last_event_timeline_beats, final_beat));