triggerbox: a cue marker/event with cue-id < 0 means "stop all"
This commit is contained in:
parent
a1384d2789
commit
914b2447b8
|
@ -2598,6 +2598,16 @@ TriggerBox::fast_forward (CueEvents const & cues, samplepos_t transport_position
|
|||
|
||||
CueEvents::const_iterator nxt_cue = c; ++nxt_cue;
|
||||
|
||||
if (c->cue < 0) {
|
||||
/* "stop all cues" marker encountered. This ends the
|
||||
duration of whatever slot might have been running
|
||||
when we hit the cue.
|
||||
*/
|
||||
prev.reset ();
|
||||
c = nxt_cue;
|
||||
continue;
|
||||
}
|
||||
|
||||
TriggerPtr trig (all_triggers[c->cue]);
|
||||
|
||||
if (trig->cue_isolated()) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user