From b98c22dbba27a8cbef7e5c59fd7c6c1b28005ae9 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 7 Aug 2021 16:50:36 -0600 Subject: [PATCH] triggerbox: emit prop change for running --- libs/ardour/triggerbox.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 2722dad8e7..5df4d9a62c 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -741,7 +741,7 @@ AudioTrigger::retrigger () (*ri) = 0; } - _running = true; + PropertyChanged (Properties::running); } void @@ -769,6 +769,7 @@ AudioTrigger::bang (TriggerBox& /*proc*/) } _running = true; + PropertyChanged (Properties::running); } void @@ -801,6 +802,7 @@ AudioTrigger::run (AudioBuffer& buf, uint32_t channel, pframes_t& nframes, pfram if (_stop_requested) { /* XXX need fade out machinery instead of immediate stop */ _running = false; + PropertyChanged (Properties::running); _stop_requested = false; return RemoveTrigger; }