From bc638c04963f55eecb6ebc1512d3219007739f75 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 10 Mar 2020 11:56:00 -0600 Subject: create transport master in the factory method if the engine is running This fixes the GUI thinking there is no port because it is notified about the TM before the port is created --- libs/ardour/transport_master.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/transport_master.cc') diff --git a/libs/ardour/transport_master.cc b/libs/ardour/transport_master.cc index e68f52e373..739395efdb 100644 --- a/libs/ardour/transport_master.cc +++ b/libs/ardour/transport_master.cc @@ -401,6 +401,9 @@ TransportMaster::factory (SyncSource type, std::string const& name, bool removea } if (tm) { + if (AudioEngine::instance()->running()) { + tm->create_port (); + } tm->set_removeable (removeable); } -- cgit v1.2.3