mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Reset pending_locate_roll in all cases, not just when the
roll happened; should help with #5047. git-svn-id: svn://localhost/ardour2/branches/3.0@13158 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3eaadafd31
commit
c779474c13
1 changed files with 6 additions and 2 deletions
|
|
@ -645,8 +645,12 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished)
|
||||||
|
|
||||||
if ((ptw & PostTransportLocate) && !config.get_external_sync() && pending_locate_roll) {
|
if ((ptw & PostTransportLocate) && !config.get_external_sync() && pending_locate_roll) {
|
||||||
request_transport_speed (1.0);
|
request_transport_speed (1.0);
|
||||||
pending_locate_roll = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Even if we didn't do a pending locate roll this time, we don't want it hanging
|
||||||
|
around for next time.
|
||||||
|
*/
|
||||||
|
pending_locate_roll = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -850,7 +854,7 @@ Session::locate (framepos_t target_frame, bool with_roll, bool with_flush, bool
|
||||||
* though, is all the housekeeping that is associated with non-linear
|
* though, is all the housekeeping that is associated with non-linear
|
||||||
* changes in the value of _transport_frame.
|
* changes in the value of _transport_frame.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (actively_recording() && !for_seamless_loop) {
|
if (actively_recording() && !for_seamless_loop) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue