fixes to change engines while Ardour is running.
When a new backend is selected, it is loaded to query available devices etc. This effectively drops the current backend.
This commit is contained in:
parent
236926e7ca
commit
ec49e351c3
@ -682,6 +682,7 @@ EngineControl::EngineControl ()
|
||||
midi_option_combo.set_sensitive (false);
|
||||
}
|
||||
}
|
||||
started_at_least_once = false;
|
||||
|
||||
if (!ignore_changes) {
|
||||
maybe_display_saved_state ();
|
||||
|
@ -564,8 +564,9 @@ AudioEngine::drop_backend ()
|
||||
{
|
||||
if (_backend) {
|
||||
_backend->stop ();
|
||||
_backend->drop_device();
|
||||
_backend->drop_device();
|
||||
_backend.reset ();
|
||||
_running = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user