diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-01-18 21:14:17 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-01-18 21:14:17 -0700 |
commit | a439d8bbe4b58abefa96ee6f518edc5c326d9b02 (patch) | |
tree | 2a3c1dbb96deb4317bace796066b8af185e0446a /libs/ardour/transport_fsm.cc | |
parent | 620ab66e75cb1b43e9a49cabf51de5b6c4c01c41 (diff) |
fix mistaken "do not roll" conclusion in TransportFSM::compute_should_roll()
Diffstat (limited to 'libs/ardour/transport_fsm.cc')
-rw-r--r-- | libs/ardour/transport_fsm.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/transport_fsm.cc b/libs/ardour/transport_fsm.cc index 8e3ef98cfa..26de519db1 100644 --- a/libs/ardour/transport_fsm.cc +++ b/libs/ardour/transport_fsm.cc @@ -418,7 +418,10 @@ TransportFSM::compute_should_roll (LocateTransportDisposition ltd) const case MustStop: return false; case RollIfAppropriate: - if (rolling()) { + /* by the time we call this, if we were rolling before the + locate, we've already transitioned into DeclickToLocate + */ + if (_motion_state == DeclickToLocate) { return true; } else { return api->should_roll_after_locate (); |