diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-04 16:54:17 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-04 17:17:14 +0200 |
commit | ec49e351c3dd67442c41663ac3af58d31885171a (patch) | |
tree | 1ec2e1732f5121146ce78a467dfc5baff2639e4a /libs/ardour/audioengine.cc | |
parent | 236926e7ca7111c8a9b66cda60f0bb08bbdec8d2 (diff) |
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.
Diffstat (limited to 'libs/ardour/audioengine.cc')
-rw-r--r-- | libs/ardour/audioengine.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index 77d7731edf..d9e6da2e04 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -564,8 +564,9 @@ AudioEngine::drop_backend () { if (_backend) { _backend->stop (); - _backend->drop_device(); + _backend->drop_device(); _backend.reset (); + _running = false; } } |