pub fn get_audio_device_ids(
    user_index: impl Into<User>
) -> Result<AudioDeviceIds, MethodError>
Expand description

[docs.microsoft.com] XInputGetAudioDeviceIds

Get XAudio2 / Windows Core Audio Device Names.

NOTE: This tends to succeed, even when no gamepad is connected, with empty/None paths.

Errors

SystemWindows verWindows SKUBehavior
Github Actions10.0.17763.2366Windows 2019 ServerERROR::DEVICE_NOT_CONNECTED observed.
“SACRILEGE”10.0.19041.1415Windows 10 ProSucceeds when called on missing gamepads

See Also