mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
triggerbox: no trigger arming if we're already recording
This commit is contained in:
parent
6f377cc3ad
commit
feed39be3d
1 changed files with 6 additions and 0 deletions
|
|
@ -292,6 +292,12 @@ Trigger::request_trigger_delete (Trigger* t)
|
||||||
void
|
void
|
||||||
Trigger::arm ()
|
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 */
|
/* trigger arming is mutually exclusive within a given TriggerBox */
|
||||||
|
|
||||||
_box.disarm_all ();
|
_box.disarm_all ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue