From 1be3301342c74fdbb92febcbc85e8d60fb09de0e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 24 Jan 2019 22:05:20 -0700 Subject: new approach to handling Transport Masters when engine is restarted Trust that ::reset() works for all transport masters, and call it when engine is stopped. This way the transport masters are ready to be called again as soon as the engine restarts. --- libs/ardour/audioengine.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/ardour/audioengine.cc') diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 5e9948ef8d..3fbc7635e1 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -1002,6 +1002,8 @@ AudioEngine::stop (bool for_latency) } if (stop_engine) { + TransportMasterManager& tmm (TransportMasterManager::instance()); + tmm.engine_stopped (); Stopped (); /* EMIT SIGNAL */ } -- cgit v1.2.3