summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index 4bbe852687..a79a2e4cd8 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -469,7 +469,7 @@ Session::transport_locked () const
{
Slave* sl = _slave;
- if (!locate_pending() && ((Config->get_slave_source() == None) || (sl && sl->ok() && sl->locked()))) {
+ if (!locate_pending() && (!config.get_external_sync() || (sl && sl->ok() && sl->locked()))) {
return true;
}
@@ -487,7 +487,7 @@ Session::follow_slave (nframes_t nframes)
if (!_slave->ok()) {
stop_transport ();
- Config->set_slave_source (None);
+ config.set_external_sync (false);
goto noroll;
}