13
0

fix behavior of Session::maybe_stop() when synced to JACK Transport

This commit is contained in:
Paul Davis 2019-11-15 15:49:08 -07:00
parent ba4e7015de
commit df4a30b1a0

View File

@ -760,9 +760,9 @@ Session::maybe_stop (samplepos_t limit)
{
ENSURE_PROCESS_THREAD;
if ((_transport_speed > 0.0f && _transport_sample >= limit) || (_transport_speed < 0.0f && _transport_sample == 0)) {
if (synced_to_engine () && config.get_jack_time_master ()) {
if (synced_to_engine ()) {
_engine.transport_stop ();
} else if (!synced_to_engine ()) {
} else {
TFSM_EVENT (TransportFSM::StopTransport);
}
return true;