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.
This commit is contained in:
Paul Davis 2022-01-14 14:37:53 -07:00
parent 8e9c4f6a67
commit 6a6a42c272
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}