From 79a823d2cbb90328983cd51a2fecc6b9709332c7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 28 Apr 2021 22:36:23 -0600 Subject: [PATCH] use correct condition in TransportFSM::transport_speed() Any state that it not Rolling should count as stopped for this purpose --- libs/ardour/transport_fsm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/transport_fsm.cc b/libs/ardour/transport_fsm.cc index ce31a5cb8a..062a3be493 100644 --- a/libs/ardour/transport_fsm.cc +++ b/libs/ardour/transport_fsm.cc @@ -640,7 +640,7 @@ TransportFSM::enqueue (Event* ev) int TransportFSM::transport_speed() const { - if (_motion_state == Stopped || _direction_state == Reversing) { + if (_motion_state != Rolling || _direction_state == Reversing) { return 0; }