From 6b3907d57f3f69df420529af308412eeb80306a4 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 12 Sep 2013 12:26:59 -0400 Subject: change names, add comment, improve return type to avoid extra call to get EngineControl::State* --- libs/ardour/session.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour/session.cc') diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index e89808e818..443738f777 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -285,6 +285,10 @@ Session::Session (AudioEngine &eng, } } } + + /* we need the audioengine to be up and usable to make much more + * progress with construction, so lets get that started if it isn't already. + */ if (_engine.current_backend() == 0 || _engine.setup_required()) { boost::optional r = AudioEngineSetupRequired (sr); -- cgit v1.2.3