7ALvoid (AL_APIENTRY *nalGenAuxiliaryEffectSlots)(ALsizei,ALuint*);
8ALvoid (AL_APIENTRY *nalDeleteAuxiliaryEffectSlots)(ALsizei,ALuint*);
9ALboolean (AL_APIENTRY *nalIsAuxiliaryEffectSlot)(ALuint);
10ALvoid (AL_APIENTRY *nalAuxiliaryEffectSloti)(ALuint,ALenum,ALint);
11ALvoid (AL_APIENTRY *nalAuxiliaryEffectSlotiv)(ALuint,ALenum,ALint*);
12ALvoid (AL_APIENTRY *nalAuxiliaryEffectSlotf)(ALuint,ALenum,ALfloat);
13ALvoid (AL_APIENTRY *nalAuxiliaryEffectSlotfv)(ALuint,ALenum,ALfloat*);
14ALvoid (AL_APIENTRY *nalGetAuxiliaryEffectSloti)(ALuint,ALenum,ALint*);
15ALvoid (AL_APIENTRY *nalGetAuxiliaryEffectSlotiv)(ALuint,ALenum,ALint*);
16ALvoid (AL_APIENTRY *nalGetAuxiliaryEffectSlotf)(ALuint,ALenum,ALfloat*);
17ALvoid (AL_APIENTRY *nalGetAuxiliaryEffectSlotfv)(ALuint,ALenum,ALfloat*);
19ALvoid (AL_APIENTRY *nalGenFilters)(ALsizei,ALuint*);
20ALvoid (AL_APIENTRY *nalDeleteFilters)(ALsizei,ALuint*);
21ALvoid (AL_APIENTRY *nalFilteri)(ALuint,ALenum,ALint);
22ALvoid (AL_APIENTRY *nalFilteriv)(ALuint,ALenum,ALint*);
23ALvoid (AL_APIENTRY *nalFilterf)(ALuint,ALenum,ALfloat);
24ALvoid (AL_APIENTRY *nalFilterfv)(ALuint,ALenum,ALfloat*);
26ALvoid (AL_APIENTRY *nalGenEffects)(ALsizei,ALuint*);
27ALvoid (AL_APIENTRY *nalDeleteEffects)(ALsizei,ALuint*);
28ALvoid (AL_APIENTRY *nalEffecti)(ALuint,ALenum,ALint);
29ALvoid (AL_APIENTRY *nalEffectiv)(ALuint,ALenum,ALint*);
30ALvoid (AL_APIENTRY *nalEffectf)(ALuint,ALenum,ALfloat);
31ALvoid (AL_APIENTRY *nalEffectfv)(ALuint,ALenum,ALfloat*);
41void al_checkHandleError( ALenum err,
const char *func,
int line )
46 if (err == AL_NO_ERROR)
52 errstr = _(
"a bad name (ID) was passed to an OpenAL function");
55 errstr = _(
"an invalid enum value was passed to an OpenAL function");
57 case AL_INVALID_VALUE:
58 errstr = _(
"an invalid value was passed to an OpenAL function");
60 case AL_INVALID_OPERATION:
61 errstr = _(
"the requested operation is not valid");
63 case AL_OUT_OF_MEMORY:
64 errstr = _(
"the requested operation resulted in OpenAL running out of memory");
68 errstr = _(
"unknown error");
71 WARN(_(
"OpenAL error [%s:%d]: %s"), func, line, errstr);