diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-13 12:34:22 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-13 18:52:29 -0600 |
commit | abbcc755c1afc597df345a7d15a050ce8342027e (patch) | |
tree | 5325061f6dfba8b633fb24c8079018cf788588c5 /libs/ardour/session_transport.cc | |
parent | daa46c42254e2cc3da29726a4d21d79ca4b028a5 (diff) |
reinstate Session::loop_changing to avoid problems when locating to start of loop for loop play
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r-- | libs/ardour/session_transport.cc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 37dcd91457..2f3c2e44f3 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -1474,16 +1474,8 @@ Session::non_realtime_stop (bool abort, int on_entry, bool& finished) if (ptw & (PostTransportClearSubstate|PostTransportStop)) { unset_play_range (); - if (!Config->get_loop_is_mode()) { - if (get_play_loop()) { - /* do not unset loop playback if we've just - located back to the start of the loop (i.e. to - prepare to play the loop. - */ - if (_transport_sample != _locations->auto_loop_location()->start()) { - unset_play_loop (); - } - } + if (!Config->get_loop_is_mode() && get_play_loop() && !loop_changing) { + unset_play_loop (); } } |