diff options
author | Chris Robinson <[email protected]> | 2013-10-07 12:56:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-07 12:56:41 -0700 |
commit | fc31a414732d1b45f69f66236bb52b8226762db5 (patch) | |
tree | 045deb8197acb3afb7cfa953fde16b898a1153f6 /Alc/effects/echo.c | |
parent | b3841653c67276f23717b87b47899740ab0028f4 (diff) |
Constify the effect parameter of effect getters
Diffstat (limited to 'Alc/effects/echo.c')
-rw-r--r-- | Alc/effects/echo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/effects/echo.c b/Alc/effects/echo.c index 1305921c..18c32f17 100644 --- a/Alc/effects/echo.c +++ b/Alc/effects/echo.c @@ -262,13 +262,13 @@ void ALecho_setParamfv(ALeffect *effect, ALCcontext *context, ALenum param, cons ALecho_setParamf(effect, context, param, vals[0]); } -void ALecho_getParami(ALeffect *UNUSED(effect), ALCcontext *context, ALenum UNUSED(param), ALint *UNUSED(val)) +void ALecho_getParami(const ALeffect *UNUSED(effect), ALCcontext *context, ALenum UNUSED(param), ALint *UNUSED(val)) { SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM); } -void ALecho_getParamiv(ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals) +void ALecho_getParamiv(const ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals) { ALecho_getParami(effect, context, param, vals); } -void ALecho_getParamf(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val) +void ALecho_getParamf(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val) { const ALeffectProps *props = &effect->Props; switch(param) @@ -297,7 +297,7 @@ void ALecho_getParamf(ALeffect *effect, ALCcontext *context, ALenum param, ALflo SET_ERROR_AND_RETURN(context, AL_INVALID_ENUM); } } -void ALecho_getParamfv(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals) +void ALecho_getParamfv(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals) { ALecho_getParamf(effect, context, param, vals); } |