-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[windows] List all audio devices for Windows
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
- Loading branch information
Showing
1 changed file
with
170 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters