correct problem with some locates that would keep rolling after they are finished
This commit is contained in:
parent
d7c91b5322
commit
228fbd3192
@ -265,7 +265,11 @@ Session::do_locate (samplepos_t target_sample, bool with_roll, bool with_flush,
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
bool transport_was_stopped = !transport_rolling();
|
|
||||||
|
/* it is important here that we use the internal state of the transport
|
||||||
|
FSM, not the public facing result of ::transport_rolling()
|
||||||
|
*/
|
||||||
|
bool transport_was_stopped = _transport_fsm->stopped();
|
||||||
|
|
||||||
if (!transport_was_stopped &&
|
if (!transport_was_stopped &&
|
||||||
(!auto_play_legal || !config.get_auto_play()) &&
|
(!auto_play_legal || !config.get_auto_play()) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user