FAudio icon indicating copy to clipboard operation
FAudio copied to clipboard

[windows] List all audio devices for Windows

Open Steelskin opened this issue 2 months ago • 0 comments

Previously, FAudio with PLATFORM_WIN32 would only list the default audio device. This reworks the Faudio PLATFORM_WIN32 code to enable access to every audio device on the system. In order to preserve the existing behavior (and Xaudio2 compabitility), the audio devices are re-ordered so the first device is always the default one.

In addition, this properly populates the DisplayName field in FAudioDeviceDetails. Previously, it was set to the device GUID.

Test: Local build with visualboyadvance-m

Steelskin avatar Apr 07 '24 00:04 Steelskin