13
0

do not play existing cue markers while recording cues

This commit is contained in:
Paul Davis 2022-01-21 10:55:45 -07:00
parent e14acfc07d
commit fd3ddce80a

View File

@ -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); _sidechain->run (bufs, start_sample, end_sample, speed, nframes, true);
} }
int32_t cue_bang = _session.first_cue_within (start_sample, end_sample); if (!_cue_recording) {
if (cue_bang >= 0) { int32_t cue_bang = _session.first_cue_within (start_sample, end_sample);
std::cerr << " CUE BANG " << cue_bang << std::endl; if (cue_bang >= 0) {
_active_scene = cue_bang; 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 /* STEP SIX: if at this point there is an active cue, make it trigger