fix incorrect removal of autoloop event when loop bounds are changed while looping
This commit is contained in:
parent
dbf06eb2cf
commit
d39f19f559
|
@ -349,10 +349,9 @@ Session::locate (samplepos_t target_sample, bool with_roll, bool with_flush, boo
|
||||||
TFSM_EVENT (TransportFSM::ButlerRequired);
|
TFSM_EVENT (TransportFSM::ButlerRequired);
|
||||||
} else {
|
} else {
|
||||||
TFSM_EVENT (TransportFSM::LocateDone);
|
TFSM_EVENT (TransportFSM::LocateDone);
|
||||||
|
loop_changing = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
loop_changing = false;
|
|
||||||
|
|
||||||
_send_timecode_update = true;
|
_send_timecode_update = true;
|
||||||
|
|
||||||
if (with_mmc) {
|
if (with_mmc) {
|
||||||
|
@ -713,6 +712,7 @@ Session::butler_completed_transport_work ()
|
||||||
post_locate ();
|
post_locate ();
|
||||||
ptw = PostTransportWork (ptw & ~PostTransportLocate);
|
ptw = PostTransportWork (ptw & ~PostTransportLocate);
|
||||||
set_post_transport_work (ptw);
|
set_post_transport_work (ptw);
|
||||||
|
loop_changing = false;
|
||||||
TFSM_EVENT (TransportFSM::LocateDone);
|
TFSM_EVENT (TransportFSM::LocateDone);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1564,7 +1564,7 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
|
||||||
|
|
||||||
if (ptw & (PostTransportClearSubstate|PostTransportStop)) {
|
if (ptw & (PostTransportClearSubstate|PostTransportStop)) {
|
||||||
unset_play_range ();
|
unset_play_range ();
|
||||||
if (!Config->get_loop_is_mode()) {
|
if (!loop_changing && !Config->get_loop_is_mode()) {
|
||||||
unset_play_loop ();
|
unset_play_loop ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user