diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-03 16:37:10 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-03 16:37:10 -0400 |
commit | c2e7c32c53b481ef6889de834fe43b0853398c58 (patch) | |
tree | 8e03516ab8c1f957b6258ed639b78dc5392b8636 /gtk2_ardour/startup.cc | |
parent | 1c4d00e8b70785ce58f868645dad93afa1855193 (diff) |
add tim's jack_utils code to rationalize setup of JACK config
Diffstat (limited to 'gtk2_ardour/startup.cc')
-rw-r--r-- | gtk2_ardour/startup.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc index e24e7d6989..8314a0986e 100644 --- a/gtk2_ardour/startup.cc +++ b/gtk2_ardour/startup.cc @@ -34,6 +34,7 @@ #include "pbd/stacktrace.h" #include "pbd/openuri.h" +#include "ardour/audioengine.h" #include "ardour/filesystem_paths.h" #include "ardour/recent_sessions.h" #include "ardour/session.h" @@ -91,7 +92,7 @@ ArdourStartup::ArdourStartup (bool require_new, const std::string& session_name, , _existing_session_chooser_used (false) { new_user = !Glib::file_test (been_here_before_path(), Glib::FILE_TEST_EXISTS); - need_audio_setup = EngineControl::need_setup (); + need_audio_setup = AudioEngine::instance()->setup_required (); need_session_info = (session_name.empty() || require_new); _provided_session_name = session_name; |