From 94570e0e1e45e7f711baba75907bc98d8da0b772 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 23 Feb 2023 15:22:18 -0700 Subject: [PATCH] midi clock: no changing tempo when we're not using an external sync source --- libs/ardour/midi_clock_slave.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/midi_clock_slave.cc b/libs/ardour/midi_clock_slave.cc index 8aefe47d3e..d0350b78c0 100644 --- a/libs/ardour/midi_clock_slave.cc +++ b/libs/ardour/midi_clock_slave.cc @@ -260,7 +260,7 @@ MIDIClock_TransportMaster::update_midi_clock (Parser& /*parser*/, samplepos_t ti /* when rolling speed is always 1.0. The transport moves at wall-clock * speed. What changes is the music-time (BPM), not the speed. */ - if (TransportMasterManager::instance().current().get() == this) { + if (_session && _session->config.get_external_sync() && TransportMasterManager::instance().current().get() == this) { /* TODO always set tempo, even when there is a map */ _session->maybe_update_tempo_from_midiclock_tempo (_bpm);