diff options
Diffstat (limited to 'Alc/effects/distortion.c')
-rw-r--r-- | Alc/effects/distortion.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/effects/distortion.c b/Alc/effects/distortion.c index 4ceb9648..5c6b0497 100644 --- a/Alc/effects/distortion.c +++ b/Alc/effects/distortion.c @@ -265,13 +265,13 @@ void ALdistortion_setParamfv(ALeffect *effect, ALCcontext *context, ALenum param ALdistortion_setParamf(effect, context, param, vals[0]); } -void ALdistortion_getParami(ALeffect *UNUSED(effect), ALCcontext *context, ALenum UNUSED(param), ALint *UNUSED(val)) +void ALdistortion_getParami(const ALeffect *UNUSED(effect), ALCcontext *context, ALenum UNUSED(param), ALint *UNUSED(val)) { SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM); } -void ALdistortion_getParamiv(ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals) +void ALdistortion_getParamiv(const ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals) { ALdistortion_getParami(effect, context, param, vals); } -void ALdistortion_getParamf(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val) +void ALdistortion_getParamf(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val) { const ALeffectProps *props = &effect->Props; switch(param) @@ -300,7 +300,7 @@ void ALdistortion_getParamf(ALeffect *effect, ALCcontext *context, ALenum param, SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM); } } -void ALdistortion_getParamfv(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals) +void ALdistortion_getParamfv(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals) { ALdistortion_getParamf(effect, context, param, vals); } |