From 079d6a2866509995b4508dbac7ded3e34ecbf5fe Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 1 May 2014 12:31:30 -0400 Subject: [PATCH] if using the audio/MIDI setup dialog because there are >1 backends, but the chosen backend is not under our control (i.e. JACK), remember to start it before returning from the dialog --- gtk2_ardour/engine_dialog.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk2_ardour/engine_dialog.cc b/gtk2_ardour/engine_dialog.cc index 545413b6ef..7150836989 100644 --- a/gtk2_ardour/engine_dialog.cc +++ b/gtk2_ardour/engine_dialog.cc @@ -1332,6 +1332,13 @@ EngineControl::EngineControl () backend->set_buffer_size (get_buffer_size()); } + if (start) { + if (ARDOUR::AudioEngine::instance()->start ()) { + error << string_compose (_("Could not start backend engine %1"), backend->name()) << endmsg; + return -1; + } + } + post_push (); return 0;