From 3d82411ac33f3a373e83fb01907ca141da6cf0aa Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 30 May 2024 18:05:07 +0200 Subject: [PATCH] T: hide MIDIClock master (Trax has no music tempo) --- libs/ardour/transport_master.cc | 3 +++ libs/ardour/transport_master_manager.cc | 2 ++ 2 files changed, 5 insertions(+) diff --git a/libs/ardour/transport_master.cc b/libs/ardour/transport_master.cc index bec436b060..36679ff3ed 100644 --- a/libs/ardour/transport_master.cc +++ b/libs/ardour/transport_master.cc @@ -351,6 +351,9 @@ TransportMaster::factory (XMLNode const & node) if (type == Engine) { return std::shared_ptr(); } + if (type == MIDIClock) { + return std::shared_ptr(); + } #endif if (!node.get_property (X_("name"), name)) { diff --git a/libs/ardour/transport_master_manager.cc b/libs/ardour/transport_master_manager.cc index db7224770b..92b9ac2a49 100644 --- a/libs/ardour/transport_master_manager.cc +++ b/libs/ardour/transport_master_manager.cc @@ -86,7 +86,9 @@ TransportMasterManager::set_default_configuration () #endif add (MTC, X_("MTC"), false); add (LTC, X_("LTC"), false); +#ifndef LIVETRAX add (MIDIClock, X_("MIDI Clock"), false); +#endif } catch (...) { return -1;