Stop playhead jumping around on locate.
authorCarl Hetherington <carl@carlh.net>
Mon, 20 Jul 2009 23:42:37 +0000 (23:42 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 20 Jul 2009 23:42:37 +0000 (23:42 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5399 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/session_transport.cc

index 34b1e825d90922e3031a2cc773dfb29cd8a04216..a20856b818700417c5629d50515531bdf2a9d125 100644 (file)
@@ -644,10 +644,6 @@ Session::start_locate (nframes_t target_frame, bool with_roll, bool with_flush,
        } else {
                locate (target_frame, with_roll, with_flush, with_loop);
        }
-
-       /* XXX: not sure if this should be emitted here in the synced_to_jack () case;
-        * perhaps it should happen when the slave is actually followed */
-       Located (); /* EMIT SIGNAL */
 }
 
 int
@@ -789,6 +785,8 @@ Session::locate (nframes_t target_frame, bool with_roll, bool with_flush, bool w
        loop_changing = false;
 
        _send_smpte_update = true;
+
+       Located (); /* EMIT SIGNAL */
 }
 
 /** Set the transport speed.