From 6a6a42c27270f0d453888718f041a5f152cc82ea Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 14 Jan 2022 14:37:53 -0700 Subject: [PATCH] triggerbox: another important tweak for trigger behavior This fixes another code point where we realize that there is nothing to do within a triggerbox, but we failed to reset _stop_all to false, causing misbehavior until the next trigger plays to completion with no subsequent trigger. --- libs/ardour/triggerbox.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index e3ccca1ddb..0b358475cf 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -2676,6 +2676,8 @@ TriggerBox::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp */ if (!_currently_playing) { + DEBUG_TRACE (DEBUG::Triggers, "nothing currently playing 1, reset stop_all to false\n"); + _stop_all = false; return; }