From feed39be3d08d137a58ab15d6bb5a97942a535c5 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 1 Nov 2024 17:42:55 -0600 Subject: [PATCH] triggerbox: no trigger arming if we're already recording --- libs/ardour/triggerbox.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 6736399fa4..07fedcdacc 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -292,6 +292,12 @@ Trigger::request_trigger_delete (Trigger* t) void Trigger::arm () { + if (_box.record_enabled() == Recording) { + return; + } + + std::cerr << "try to arm " << _box.order() << ':' << index() << std::endl; + /* trigger arming is mutually exclusive within a given TriggerBox */ _box.disarm_all ();