From 5b0d98abcdf198b6da0e5f6cbb6ded899c01d037 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 3 Mar 2019 10:27:38 -0700 Subject: fix decision about sending MTC to be based not just on whether the transport master is locked, but whether it is external --- libs/ardour/session_midi.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/ardour/session_midi.cc') diff --git a/libs/ardour/session_midi.cc b/libs/ardour/session_midi.cc index 87b9e5e861..d7ae764955 100644 --- a/libs/ardour/session_midi.cc +++ b/libs/ardour/session_midi.cc @@ -402,7 +402,8 @@ Session::send_full_time_code (samplepos_t const t, MIDI::pframes_t nframes) if (_engine.freewheeling() || !Config->get_send_mtc()) { return 0; } - if (!transport_master()->locked()) { + + if (transport_master_is_external() && !transport_master()->locked()) { return 0; } @@ -486,7 +487,7 @@ Session::send_midi_time_code_for_cycle (samplepos_t start_sample, samplepos_t en // cerr << "(MTC) Not sending MTC\n"; return 0; } - if (!transport_master()->locked()) { + if (transport_master_is_external() && !transport_master()->locked()) { return 0; } -- cgit v1.2.3