aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/autowah.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/autowah.c')
-rw-r--r--Alc/effects/autowah.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/Alc/effects/autowah.c b/Alc/effects/autowah.c
index e6e45273..1b2e166d 100644
--- a/Alc/effects/autowah.c
+++ b/Alc/effects/autowah.c
@@ -200,7 +200,6 @@ void ALautowah_setParamiv(ALeffect *effect, ALCcontext *context, ALenum param, c
{
ALautowah_setParami(effect, context, param, vals[0]);
}
-
void ALautowah_setParamf(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat val)
{
ALeffectProps *props = &effect->Props;
@@ -234,19 +233,18 @@ void ALautowah_setParamf(ALeffect *effect, ALCcontext *context, ALenum param, AL
SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM);
}
}
-
void ALautowah_setParamfv(ALeffect *effect, ALCcontext *context, ALenum param, const ALfloat *vals)
{
ALautowah_setParamf(effect, context, param, vals[0]);
}
-void ALautowah_getParami(ALeffect *UNUSED(effect), ALCcontext *context, ALenum UNUSED(param), ALint *UNUSED(val))
+void ALautowah_getParami(const ALeffect *UNUSED(effect), ALCcontext *context, ALenum UNUSED(param), ALint *UNUSED(val))
{ SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM); }
-void ALautowah_getParamiv(ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals)
+void ALautowah_getParamiv(const ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals)
{
ALautowah_getParami(effect, context, param, vals);
}
-void ALautowah_getParamf(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val)
+void ALautowah_getParamf(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val)
{
const ALeffectProps *props = &effect->Props;
switch(param)
@@ -271,8 +269,7 @@ void ALautowah_getParamf(ALeffect *effect, ALCcontext *context, ALenum param, AL
SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM);
}
}
-
-void ALautowah_getParamfv(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals)
+void ALautowah_getParamfv(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals)
{
ALautowah_getParamf(effect, context, param, vals);
}