diff --git a/utils/openal-info.c b/utils/openal-info.c index eab068a..f291e1c 100644 --- a/utils/openal-info.c +++ b/utils/openal-info.c @@ -277,7 +277,10 @@ int main(int argc, char *argv[]) return 1; } - printf("\n** Info for device \"%s\" **\n", alcGetString(device, ALC_DEVICE_SPECIFIER)); + if(alcIsExtensionPresent(device, "ALC_ENUMERATE_ALL_EXT") != AL_FALSE) + printf("\n** Info for device \"%s\" **\n", alcGetString(device, ALC_ALL_DEVICES_SPECIFIER)); + else + printf("\n** Info for device \"%s\" **\n", alcGetString(device, ALC_DEVICE_SPECIFIER)); printALCInfo(device); context = alcCreateContext(device, NULL);