mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 22:55:44 +01:00
fix mistaken "do not roll" conclusion in TransportFSM::compute_should_roll()
This commit is contained in:
parent
620ab66e75
commit
a439d8bbe4
1 changed files with 4 additions and 1 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue