diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index 4dfa0169e6..b1b529cb24 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -155,7 +155,7 @@ TriggerBox::add_trigger (Trigger* trigger) bool TriggerBox::queue_trigger (Trigger* trigger) { - return _trigger_queue.write (&trigger, 1) == 1; + return _trigger_queue.write (&trigger, 1) == 1; } void @@ -177,6 +177,13 @@ TriggerBox::process_ui_trigger_requests () pending_on_triggers.push_back (t); } + if (vec.len[0] || vec.len[1]) { + + if (!_session.transport_state_rolling()) { + _session.start_transport_from_processor (); + } + } + _trigger_queue.increment_read_idx (vec.len[0] + vec.len[1]); }