mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
triggerbox: don't get a new trigger if there isn't a current one and allstop is set
This commit is contained in:
parent
27dfbecd54
commit
027e7302b8
1 changed files with 2 additions and 1 deletions
|
|
@ -431,6 +431,7 @@ Trigger::shutdown ()
|
|||
{
|
||||
_state = Stopped;
|
||||
_gain = 1.0;
|
||||
pop_cue_properties ();
|
||||
DEBUG_TRACE (DEBUG::Triggers, string_compose ("%1 shuts down\n", name()));
|
||||
PropertyChanged (ARDOUR::Properties::running);
|
||||
}
|
||||
|
|
@ -2432,7 +2433,7 @@ TriggerBox::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
|||
/* STEP EIGHT: if there is no active slot, see if there any queued up
|
||||
*/
|
||||
|
||||
if (!_currently_playing) {
|
||||
if (!_currently_playing && !allstop) {
|
||||
if ((_currently_playing = get_next_trigger()) != 0) {
|
||||
maybe_swap_pending (_currently_playing->index());
|
||||
_currently_playing->startup ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue