One audio device interface can have several audio devices connected to it.
For example, my Realtek onboard sound chip has two output devices:
Realtek Digital Output (Realtek High Definition Audio)
Speakers (Realtek High Definition Audio)
Without this fix, it is not possible to differentiate between the them by specifying the device's friendly name. FriendlyName was "Realtek High Definition Audio" for both devices.
One audio device interface can have several audio devices connected to it.
For example, my Realtek onboard sound chip has two output devices:
Without this fix, it is not possible to differentiate between the them by specifying the device's friendly name. FriendlyName was "Realtek High Definition Audio" for both devices.
I renamed FriendlyName to DeviceInterfaceFriendlyName and added DeviceFriendlyName according to Microsoft’s specification: https://docs.microsoft.com/en-us/windows/win32/coreaudio/device-properties
Cheers!