mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
[Summary] Added engine, record and I/O processing stop when device configuration changes
This commit is contained in:
parent
489ead12ba
commit
17e4c2f96b
1 changed files with 5 additions and 0 deletions
|
|
@ -384,6 +384,11 @@ AudioEngine::do_reset_backend()
|
|||
std::string name = _backend->device_name ();
|
||||
|
||||
stop();
|
||||
if (_session) {
|
||||
// it's not a halt, but should be handled the same way:
|
||||
// disable record, stop transport and I/O processign but save the data.
|
||||
_session->engine_halted();
|
||||
}
|
||||
|
||||
// "hard reset" the device
|
||||
_backend->drop_device();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue