From 90b06ce7121afba29fed78fb0158e14769c962cd Mon Sep 17 00:00:00 2001 From: GZharun Date: Tue, 17 Feb 2015 14:20:42 +0200 Subject: [PATCH] [Summary] Fixed loop processing in cases when loop is moved/resized [Reviewed by] REQUIRED REVIEW FROM PAUL DAVIS --- libs/ardour/session_transport.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index a1a35af7cb..9853ca2ec1 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -461,7 +461,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