diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-16 12:36:50 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-03-20 17:38:38 -0600 |
commit | e6e0edbe90cff679831c4d4f2dec8789702d3296 (patch) | |
tree | a27e9b16d432355de80a920f1d9b0daa604808e9 /libs/ardour/mtc_slave.cc | |
parent | 5f27382b882557c52a99e2924e875b5b43d6a7d4 (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.cc | 2 |
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); |