summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-09-12 12:26:59 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-09-12 12:26:59 -0400
commit6b3907d57f3f69df420529af308412eeb80306a4 (patch)
tree8c3039216a269f8ad9398cf696c35bbe83697076 /libs
parent4df3666738607039445ebc9fa083bf5c23ac5539 (diff)
change names, add comment, improve return type to avoid extra call to get EngineControl::State*
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session.cc4
1 files changed, 4 insertions, 0 deletions
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<int> r = AudioEngineSetupRequired (sr);