From fd3ddce80a9bfb0c77dd94200cc5a0edfeb3031b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 21 Jan 2022 10:55:45 -0700 Subject: [PATCH] do not play existing cue markers while recording cues --- libs/ardour/triggerbox.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libs/ardour/triggerbox.cc b/libs/ardour/triggerbox.cc index f024c6c2d8..0a96230292 100644 --- a/libs/ardour/triggerbox.cc +++ b/libs/ardour/triggerbox.cc @@ -2724,10 +2724,12 @@ TriggerBox::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp _sidechain->run (bufs, start_sample, end_sample, speed, nframes, true); } - int32_t cue_bang = _session.first_cue_within (start_sample, end_sample); - if (cue_bang >= 0) { - std::cerr << " CUE BANG " << cue_bang << std::endl; - _active_scene = cue_bang; + if (!_cue_recording) { + int32_t cue_bang = _session.first_cue_within (start_sample, end_sample); + if (cue_bang >= 0) { + std::cerr << " CUE BANG " << cue_bang << std::endl; + _active_scene = cue_bang; + } } /* STEP SIX: if at this point there is an active cue, make it trigger