diff options
author | GZharun <grygoriiz@wavesglobal.com> | 2015-02-17 14:20:42 +0200 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-17 10:37:35 -0500 |
commit | 5a8270373a3caca86bb04631169763ee1786dc78 (patch) | |
tree | f19ab16780944942d9d344815873ece0f22df4dd /libs/ardour/session_transport.cc | |
parent | b3e7c88988b6b3ade5872935b7c371cf3a6a1040 (diff) |
[Summary] Fixed loop processing in cases when loop is moved/resized
[Reviewed by] REQUIRED REVIEW FROM PAUL DAVIS
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r-- | libs/ardour/session_transport.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index fa1c0c31d0..449349996f 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -458,7 +458,9 @@ Session::non_realtime_locate () */ set_track_loop (false); - } else if (loc && Config->get_seamless_loop() && (loc->start() == _transport_frame)) { + } else if (loc && Config->get_seamless_loop() && + ((loc->start() <= _transport_frame) || + (loc->end() > _transport_frame) ) ) { /* jumping to start of loop. This might have been done before but it is * idempotent and cheap. Doing it here ensures that when we start playback |