1
0
Fork 0
mirror of https://github.com/Ryujinx/Opentk.git synced 2025-03-27 17:35:16 +00:00

Use DeviceSpecifier instead of AllDevicesSpecifier when enumerating audio devices.

This commit is contained in:
the_fiddler 2008-01-22 21:25:08 +00:00
parent baf59abb6e
commit aa6994ac33

View file

@ -169,7 +169,7 @@ namespace OpenTK.Audio
if (available_devices.Count == 0)
{
if (Alc.IsExtensionPresent(IntPtr.Zero, "ALC_ENUMERATION_EXT"))
available_devices.AddRange(Alc.GetString(IntPtr.Zero, AlcGetStringList.AllDevicesSpecifier));
available_devices.AddRange(Alc.GetString(IntPtr.Zero, AlcGetStringList.DeviceSpecifier));
else
Debug.Print("Device enumeration extension not available. Failed to enumerate devices.");
}