projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix mistaken "do not roll" conclusion in TransportFSM::compute_should_roll()
[ardour.git]
/
libs
/
ardour
/
transport_fsm.cc
diff --git
a/libs/ardour/transport_fsm.cc
b/libs/ardour/transport_fsm.cc
index 8e3ef98cfac9bdbe9c66194a50f6ae95c70570cf..26de519db18db7066bd5bda25620fa2200478400 100644
(file)
--- 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:
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 ();
return true;
} else {
return api->should_roll_after_locate ();