mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
use correct condition in TransportFSM::transport_speed()
Any state that it not Rolling should count as stopped for this purpose
This commit is contained in:
parent
8e868fc743
commit
79a823d2cb
1 changed files with 1 additions and 1 deletions
|
|
@ -640,7 +640,7 @@ TransportFSM::enqueue (Event* ev)
|
||||||
int
|
int
|
||||||
TransportFSM::transport_speed() const
|
TransportFSM::transport_speed() const
|
||||||
{
|
{
|
||||||
if (_motion_state == Stopped || _direction_state == Reversing) {
|
if (_motion_state != Rolling || _direction_state == Reversing) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue