summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-07-20 23:42:37 +0000
committerCarl Hetherington <carl@carlh.net>2009-07-20 23:42:37 +0000
commit769e2c3feb2ce30056bfb8ec6eb7ec6a1d4324c6 (patch)
tree37c7ce1a7b1b26458318939fd4784b18df183ab2 /libs/ardour
parent8d3df6fcb2d84781db5fbc8d5b3c0eb077929b50 (diff)
Stop playhead jumping around on locate.
git-svn-id: svn://localhost/ardour2/branches/3.0@5399 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/session_transport.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc
index 34b1e825d9..a20856b818 100644
--- a/libs/ardour/session_transport.cc
+++ b/libs/ardour/session_transport.cc
@@ -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.