Lines 831-839
void CSoundManager::RunHardwareDetection()
Link Here
|
831 |
// Sound cards |
831 |
// Sound cards |
832 |
|
832 |
|
833 |
const ALCchar* devices = nullptr; |
833 |
const ALCchar* devices = nullptr; |
834 |
if (alcIsExtensionPresent(nullptr, "ALC_enumeration_EXT") == AL_TRUE) |
834 |
if (alcIsExtensionPresent(nullptr, "ALC_ENUMERATION_EXT") == AL_TRUE) |
835 |
{ |
835 |
{ |
836 |
if (alcIsExtensionPresent(nullptr, "ALC_enumerate_all_EXT") == AL_TRUE) |
836 |
if (alcIsExtensionPresent(nullptr, "ALC_ENUMERATE_ALL_EXT") == AL_TRUE) |
837 |
devices = alcGetString(nullptr, ALC_ALL_DEVICES_SPECIFIER); |
837 |
devices = alcGetString(nullptr, ALC_ALL_DEVICES_SPECIFIER); |
838 |
else |
838 |
else |
839 |
devices = alcGetString(nullptr, ALC_DEVICE_SPECIFIER); |
839 |
devices = alcGetString(nullptr, ALC_DEVICE_SPECIFIER); |