triggerbox: a cue marker that refers to an empty slot ends a previously playing slot (in fast forward)
This commit is contained in:
parent
9f39cca21f
commit
e14b8a142d
@ -2586,7 +2586,18 @@ TriggerBox::fast_forward (CueEvents const & cues, samplepos_t transport_position
|
|||||||
|
|
||||||
TriggerPtr trig (all_triggers[c->cue]);
|
TriggerPtr trig (all_triggers[c->cue]);
|
||||||
|
|
||||||
if (!trig->region() || trig->cue_isolated()) {
|
if (trig->cue_isolated()) {
|
||||||
|
c = nxt_cue;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!trig->region()) {
|
||||||
|
/* the cue-identified slot is empty for this
|
||||||
|
triggerbox. This effectively ends the duration of
|
||||||
|
whatever slot might have been running when we hit
|
||||||
|
the cue.
|
||||||
|
*/
|
||||||
|
prev.reset ();
|
||||||
c = nxt_cue;
|
c = nxt_cue;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user