fix (??) issue with transport control (stop after locate with no audio tracks)
Unclear why previous code used !tfsm->rolling() rather than tfsm->stopped() but this now works as intended
This commit is contained in:
parent
acfa04d700
commit
30da8c00b5
@ -218,11 +218,10 @@ Session::locate (samplepos_t target_sample, bool with_roll, bool with_flush, boo
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/* 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->rolling();
|
||||
bool transport_was_stopped = _transport_fsm->stopped();
|
||||
|
||||
if (!transport_was_stopped &&
|
||||
(!auto_play_legal || !config.get_auto_play()) &&
|
||||
|
Loading…
Reference in New Issue
Block a user