mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 10:36:34 +01:00
[Summary] Backend Improvements
[Details] Fixed error handling Fixed switching to None device when something goes wrong with the current device Backend now takes care when device ID changes - Sound Grid does this when the amount of channel changes and it's not going to change in the neared future. Fixed sample rate changes notification from device to DAW - Some devices can respond with such updates, we must correctly process them.
This commit is contained in:
parent
8da1ad9fcf
commit
cb9f19baca
6 changed files with 124 additions and 30 deletions
|
|
@ -359,10 +359,10 @@ WTErr WCMRAudioDevice::ResetDevice ()
|
|||
WTErr err = SetStreaming(false);
|
||||
|
||||
if (err == eNoErr)
|
||||
SetActive(false);
|
||||
err = SetActive(false);
|
||||
|
||||
if (err == eNoErr && wasActive)
|
||||
SetActive(true);
|
||||
err = SetActive(true);
|
||||
|
||||
if (err == eNoErr && wasStreaming) {
|
||||
err = SetStreaming(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue