Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[windows] List all audio devices for Windows #338

Merged
merged 2 commits into from
May 23, 2024

Commits on May 9, 2024

  1. [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
    Steelskin committed May 9, 2024
    Configuration menu
    Copy the full SHA
    eb0b982 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. [windows] Return error code for DefaultDeviceIndex

    * Rework `FAudio_DefaultDeviceIndex` to return the Windows API error
      code and take the `defaultDeviceIndex` as parameter.
    * Change included headers for wine compatibility.
    Steelskin committed May 23, 2024
    Configuration menu
    Copy the full SHA
    0527ddd View commit details
    Browse the repository at this point in the history