aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/base.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-03-22 16:04:13 -0700
committerChris Robinson <[email protected]>2019-03-22 16:04:13 -0700
commitea8b02dead8f7b35f0fe2c2fa3b0aa0f8d258828 (patch)
treea25ab46a278d491291e6bb65739df75e380adfb7 /Alc/effects/base.h
parente7e585f65c43e2ccd2ae71c36c4940f4b2efa80a (diff)
Pass ALeffectProps directly to the get/setParam* methods
Diffstat (limited to 'Alc/effects/base.h')
-rw-r--r--Alc/effects/base.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/Alc/effects/base.h b/Alc/effects/base.h
index 54d0c408..82b9026a 100644
--- a/Alc/effects/base.h
+++ b/Alc/effects/base.h
@@ -12,15 +12,15 @@ union ALeffectProps;
struct EffectVtable {
- void (*const setParami)(ALeffect *effect, ALCcontext *context, ALenum param, ALint val);
- void (*const setParamiv)(ALeffect *effect, ALCcontext *context, ALenum param, const ALint *vals);
- void (*const setParamf)(ALeffect *effect, ALCcontext *context, ALenum param, ALfloat val);
- void (*const setParamfv)(ALeffect *effect, ALCcontext *context, ALenum param, const ALfloat *vals);
-
- void (*const getParami)(const ALeffect *effect, ALCcontext *context, ALenum param, ALint *val);
- void (*const getParamiv)(const ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals);
- void (*const getParamf)(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val);
- void (*const getParamfv)(const ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals);
+ void (*const setParami)(ALeffectProps *props, ALCcontext *context, ALenum param, ALint val);
+ void (*const setParamiv)(ALeffectProps *props, ALCcontext *context, ALenum param, const ALint *vals);
+ void (*const setParamf)(ALeffectProps *props, ALCcontext *context, ALenum param, ALfloat val);
+ void (*const setParamfv)(ALeffectProps *props, ALCcontext *context, ALenum param, const ALfloat *vals);
+
+ void (*const getParami)(const ALeffectProps *props, ALCcontext *context, ALenum param, ALint *val);
+ void (*const getParamiv)(const ALeffectProps *props, ALCcontext *context, ALenum param, ALint *vals);
+ void (*const getParamf)(const ALeffectProps *props, ALCcontext *context, ALenum param, ALfloat *val);
+ void (*const getParamfv)(const ALeffectProps *props, ALCcontext *context, ALenum param, ALfloat *vals);
};
#define DEFINE_ALEFFECT_VTABLE(T) \