13
0

fix thinko in unbang behavior

This commit is contained in:
Ben Loftis 2022-10-03 13:44:40 -05:00
parent fe0cde3781
commit 374ff2b12d

View File

@ -892,6 +892,7 @@ Trigger::process_state_requests (BufferSet& bufs, pframes_t dest_offset)
switch (_state) { switch (_state) {
case Running: case Running:
case WaitingToStart:
switch (launch_style()) { switch (launch_style()) {
case OneShot: case OneShot:
case ReTrigger: case ReTrigger:
@ -914,11 +915,6 @@ Trigger::process_state_requests (BufferSet& bufs, pframes_t dest_offset)
case WaitingForRetrigger: case WaitingForRetrigger:
/* do nothing */ /* do nothing */
break; break;
case WaitingToStart:
/* didn't even get started */
shutdown (bufs, dest_offset);
DEBUG_TRACE (DEBUG::Triggers, string_compose ("%1 unbanged, never started, now stopped\n", index()));
} }
} }
} }