mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
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:
parent
e69531b953
commit
079d6a2866
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue