From 53f72dd4024ca80c7d333ff3c1b220dbaa167466 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 17 Dec 2019 13:21:33 -0700 Subject: [PATCH] a new stop command while in the middle of declick-to-stop is not a bad transition --- libs/ardour/transport_fsm.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/ardour/transport_fsm.cc b/libs/ardour/transport_fsm.cc index 537c825fb1..bd3ac986b2 100644 --- a/libs/ardour/transport_fsm.cc +++ b/libs/ardour/transport_fsm.cc @@ -153,6 +153,7 @@ _row < Rolling, butler_done, Rolling _row < Rolling, start_transport, Rolling >, a_row < Rolling, stop_transport, DeclickToStop, &T::stop_playback >, a_row < DeclickToStop, declick_done, Stopped, >, +a_row < DeclickToStop, stop_transport, DeclickToStop >, a_row < Rolling, locate, DeclickToLocate, &T::start_declick_for_locate >, a_row < DeclickToLocate, declick_done, WaitingForLocate, &T::start_locate_after_declick >, row < WaitingForLocate, locate_done, Rolling, &T::roll_after_locate, &T::should_roll_after_locate >, @@ -242,6 +243,9 @@ TransportFSM::process_event (Event& ev, bool already_deferred, bool& deferred) deferred = true; } break; + case DeclickToStop: + /* already doing it */ + break; default: bad_transition (ev); return false; break;