fix thinko in unbang behavior

This commit is contained in:
Ben Loftis 2022-10-03 13:44:40 -05:00
parent fe0cde3781
commit 374ff2b12d
1 changed files with 1 additions and 5 deletions

View File

@ -892,6 +892,7 @@ Trigger::process_state_requests (BufferSet& bufs, pframes_t dest_offset)
switch (_state) {
case Running:
case WaitingToStart:
switch (launch_style()) {
case OneShot:
case ReTrigger:
@ -914,11 +915,6 @@ Trigger::process_state_requests (BufferSet& bufs, pframes_t dest_offset)
case WaitingForRetrigger:
/* do nothing */
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()));
}
}
}