13
0

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:
Robin Gareus 2014-06-04 16:54:17 +02:00
parent 236926e7ca
commit ec49e351c3
2 changed files with 3 additions and 1 deletions

View File

@ -682,6 +682,7 @@ EngineControl::EngineControl ()
midi_option_combo.set_sensitive (false);
}
}
started_at_least_once = false;
if (!ignore_changes) {
maybe_display_saved_state ();

View File

@ -564,8 +564,9 @@ AudioEngine::drop_backend ()
{
if (_backend) {
_backend->stop ();
_backend->drop_device();
_backend->drop_device();
_backend.reset ();
_running = false;
}
}