From e6e0edbe90cff679831c4d4f2dec8789702d3296 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 16 Mar 2020 12:36:50 -0600 Subject: [PATCH] fix condition under which out-of-window MTC should trigger locate --- libs/ardour/mtc_slave.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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);