diff options
author | Chris Robinson <[email protected]> | 2011-09-22 00:31:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-22 00:31:42 -0700 |
commit | 0988023d30d16563461f92ffcad6a5fc1d5766f3 (patch) | |
tree | ebe6771d0eda39759d511f999b5e9f7a0fe18529 /OpenAL32 | |
parent | e81e20446f9d8ded91062e2c3c6287db196bd72f (diff) |
Constify some parameters
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alAuxEffectSlot.c | 6 | ||||
-rw-r--r-- | OpenAL32/alEffect.c | 6 | ||||
-rw-r--r-- | OpenAL32/alFilter.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/OpenAL32/alAuxEffectSlot.c b/OpenAL32/alAuxEffectSlot.c index df042815..0af70681 100644 --- a/OpenAL32/alAuxEffectSlot.c +++ b/OpenAL32/alAuxEffectSlot.c @@ -115,7 +115,7 @@ AL_API ALvoid AL_APIENTRY alGenAuxiliaryEffectSlots(ALsizei n, ALuint *effectslo ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alDeleteAuxiliaryEffectSlots(ALsizei n, ALuint *effectslots) +AL_API ALvoid AL_APIENTRY alDeleteAuxiliaryEffectSlots(ALsizei n, const ALuint *effectslots) { ALCcontext *Context; ALeffectslot *EffectSlot; @@ -228,7 +228,7 @@ AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSloti(ALuint effectslot, ALenum param ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotiv(ALuint effectslot, ALenum param, ALint *piValues) +AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotiv(ALuint effectslot, ALenum param, const ALint *piValues) { ALCcontext *Context; @@ -291,7 +291,7 @@ AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotf(ALuint effectslot, ALenum param ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotfv(ALuint effectslot, ALenum param, ALfloat *pflValues) +AL_API ALvoid AL_APIENTRY alAuxiliaryEffectSlotfv(ALuint effectslot, ALenum param, const ALfloat *pflValues) { ALCcontext *Context; diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index e952e6b6..178628cf 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -86,7 +86,7 @@ AL_API ALvoid AL_APIENTRY alGenEffects(ALsizei n, ALuint *effects) ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alDeleteEffects(ALsizei n, ALuint *effects) +AL_API ALvoid AL_APIENTRY alDeleteEffects(ALsizei n, const ALuint *effects) { ALCcontext *Context; ALCdevice *device; @@ -186,7 +186,7 @@ AL_API ALvoid AL_APIENTRY alEffecti(ALuint effect, ALenum param, ALint iValue) ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alEffectiv(ALuint effect, ALenum param, ALint *piValues) +AL_API ALvoid AL_APIENTRY alEffectiv(ALuint effect, ALenum param, const ALint *piValues) { ALCcontext *Context; ALCdevice *Device; @@ -228,7 +228,7 @@ AL_API ALvoid AL_APIENTRY alEffectf(ALuint effect, ALenum param, ALfloat flValue ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alEffectfv(ALuint effect, ALenum param, ALfloat *pflValues) +AL_API ALvoid AL_APIENTRY alEffectfv(ALuint effect, ALenum param, const ALfloat *pflValues) { ALCcontext *Context; ALCdevice *Device; diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index 31eb2459..adf689ca 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -82,7 +82,7 @@ AL_API ALvoid AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters) ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alDeleteFilters(ALsizei n, ALuint *filters) +AL_API ALvoid AL_APIENTRY alDeleteFilters(ALsizei n, const ALuint *filters) { ALCcontext *Context; ALCdevice *device; @@ -175,7 +175,7 @@ AL_API ALvoid AL_APIENTRY alFilteri(ALuint filter, ALenum param, ALint iValue) ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alFilteriv(ALuint filter, ALenum param, ALint *piValues) +AL_API ALvoid AL_APIENTRY alFilteriv(ALuint filter, ALenum param, const ALint *piValues) { ALCcontext *Context; ALCdevice *Device; @@ -224,7 +224,7 @@ AL_API ALvoid AL_APIENTRY alFilterf(ALuint filter, ALenum param, ALfloat flValue ALCcontext_DecRef(Context); } -AL_API ALvoid AL_APIENTRY alFilterfv(ALuint filter, ALenum param, ALfloat *pflValues) +AL_API ALvoid AL_APIENTRY alFilterfv(ALuint filter, ALenum param, const ALfloat *pflValues) { ALCcontext *Context; ALCdevice *Device; |