From 00185aadcfd455a17fb0e31e0f024c419225978e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 18 Feb 2022 12:56:51 -0700 Subject: [PATCH] triggerbox: leave a possibly helpful comment --- libs/ardour/triggerbox.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 44350a3220..2ce0de3ab6 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -3585,6 +3585,11 @@ TriggerBox::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp } else if (_currently_playing->state() != Trigger::WaitingToStop) { + /* Notice that this condition + * leaves the next trigger to + * run in the queue. + */ + /* but just begin stoppingthe currently playing slot */ _currently_playing->begin_stop (); DEBUG_TRACE (DEBUG::Triggers, string_compose ("start stop for %1 before switching to %2\n", _currently_playing->index(), nxt->index()));