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

This commit is contained in:
Paul Davis 2014-05-01 12:31:30 -04:00
parent e69531b953
commit 079d6a2866

View File

@ -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;