fix seamless looping after a locate out of the loop.
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 13 Feb 2015 23:42:41 +0000 (18:42 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 13 Feb 2015 23:42:41 +0000 (18:42 -0500)
Something, somewhere has to tell tracks to refill their buffers with
the special loop-data-only magic

libs/ardour/session_transport.cc

index 79390599d5e08efc8fcae42947329e0a3b8a1457..2ed62799365829ee58879a1b625659fe4e58bf79 100644 (file)
@@ -1172,6 +1172,10 @@ Session::set_transport_speed (double speed, framepos_t destination_frame, bool a
                        
                        if (location != 0) {
                                if (_transport_frame != location->start()) {
+                                       if (Config->get_seamless_loop()) {
+                                               /* force tracks to do their thing */
+                                               set_track_loop (true);
+                                       }
                                        /* jump to start and then roll from there */
                                        request_locate (location->start(), true);
                                        return;