Give "OpenAL Soft" for the standard device name

This commit is contained in:
Chris Robinson 2012-02-28 03:36:16 -08:00
parent 230e784b9e
commit 2285c79ded

View File

@ -1857,18 +1857,20 @@ ALC_API const ALCchar* ALC_APIENTRY alcGetString(ALCdevice *pDevice,ALCenum para
break;
case ALC_DEVICE_SPECIFIER:
if(!VerifyDevice(pDevice))
value = alcDefaultName;
else
value = alcDefaultName;
break;
case ALC_ALL_DEVICES_SPECIFIER:
if(VerifyDevice(pDevice))
{
value = pDevice->szDeviceName;
ALCdevice_DecRef(pDevice);
}
break;
case ALC_ALL_DEVICES_SPECIFIER:
ProbeAllDeviceList();
value = alcAllDeviceList;
else
{
ProbeAllDeviceList();
value = alcAllDeviceList;
}
break;
case ALC_CAPTURE_DEVICE_SPECIFIER: