summaryrefslogtreecommitdiff
path: root/libs/ardour/mtc_slave.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2020-03-16 12:36:50 -0600
committerPaul Davis <paul@linuxaudiosystems.com>2020-03-20 17:38:38 -0600
commite6e0edbe90cff679831c4d4f2dec8789702d3296 (patch)
treea27e9b16d432355de80a920f1d9b0daa604808e9 /libs/ardour/mtc_slave.cc
parent5f27382b882557c52a99e2924e875b5b43d6a7d4 (diff)
fix condition under which out-of-window MTC should trigger locate
Diffstat (limited to 'libs/ardour/mtc_slave.cc')
-rw-r--r--libs/ardour/mtc_slave.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc
index 797ba5244a..62c1b77af1 100644
--- a/libs/ardour/mtc_slave.cc
+++ b/libs/ardour/mtc_slave.cc
@@ -431,7 +431,7 @@ MTC_TransportMaster::update_mtc_time (const MIDI::byte *msg, bool was_full, samp
if (was_full || outside_window (mtc_frame)) {
DEBUG_TRACE (DEBUG::MTC, string_compose ("update_mtc_time: full TC %1 or outside window %2 MTC %3\n", was_full, outside_window (mtc_frame), mtc_frame));
boost::shared_ptr<TransportMaster> c = TransportMasterManager::instance().current();
- if (c && c.get() == this) {
+ if (c && c.get() == this && _session->config.get_external_sync()) {
_session->set_requested_return_sample (-1);
_session->request_transport_speed (0, TRS_MTC);
_session->request_locate (mtc_frame, MustStop, TRS_MTC);