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
|
|
@ -138,6 +138,7 @@ protected:
|
|||
#endif //WV_USE_TONE_GEN
|
||||
|
||||
WTErr UpdateDeviceInfo ();
|
||||
WTErr UpdateDeviceId ();
|
||||
WTErr UpdateDeviceName();
|
||||
WTErr UpdateDeviceInputs();
|
||||
WTErr UpdateDeviceOutputs();
|
||||
|
|
@ -167,8 +168,7 @@ protected:
|
|||
static OSStatus StaticPropertyChangeProc (AudioDeviceID inDevice, UInt32 inChannel, Boolean isInput,
|
||||
AudioDevicePropertyID inPropertyID, void *inClientData);
|
||||
void PropertyChangeProc (AudioDevicePropertyID inPropertyID);
|
||||
|
||||
void resetAudioDevice();
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue