aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/equalizer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-07 12:56:41 -0700
committerChris Robinson <[email protected]>2013-10-07 12:56:41 -0700
commitfc31a414732d1b45f69f66236bb52b8226762db5 (patch)
tree045deb8197acb3afb7cfa953fde16b898a1153f6 /Alc/effects/equalizer.c
parentb3841653c67276f23717b87b47899740ab0028f4 (diff)
Constify the effect parameter of effect getters
Diffstat (limited to 'Alc/effects/equalizer.c')
-rw-r--r--Alc/effects/equalizer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/effects/equalizer.c b/Alc/effects/equalizer.c
index 7b3b508d..dba6cc3a 100644
--- a/Alc/effects/equalizer.c
+++ b/Alc/effects/equalizer.c
@@ -283,13 +283,13 @@ void ALequalizer_setParamfv(ALeffect *effect, ALCcontext *context, ALenum param,
ALequalizer_setParamf(effect, context, param, vals[0]);
}
-void ALequalizer_getParami(ALeffect *UNUSED(effect), ALCcontext *context, ALenum UNUSED(param), ALint *UNUSED(val))
+void ALequalizer_getParami(const ALeffect *UNUSED(effect), ALCcontext *context, ALenum UNUSED(param), ALint *UNUSED(val))
{ SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM); }
-void ALequalizer_getParamiv(ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals)
+void ALequalizer_getParamiv(const ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals)
{
ALequalizer_getParami(effect, context, param, vals);
}
-void ALequalizer_getParamf(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val)
+void ALequalizer_getParamf(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val)
{
const ALeffectProps *props = &effect->Props;
switch(param)
@@ -338,7 +338,7 @@ void ALequalizer_getParamf(ALeffect *effect, ALCcontext *context, ALenum param,
SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM);
}
}
-void ALequalizer_getParamfv(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals)
+void ALequalizer_getParamfv(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals)
{
ALequalizer_getParamf(effect, context, param, vals);
}