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 3c7d4e27b0
commit 1f280f0731

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.");
}