aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/base.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-04-10 20:23:20 -0700
committerChris Robinson <[email protected]>2020-04-10 20:23:20 -0700
commit1d8ac4d61f5717c02e253a741175b037db97de4e (patch)
tree4a73f0e167283eb405e8551ff48c843b7b156d9f /alc/effects/base.h
parent13153bab607e30fb2f676cc6070391453b884faa (diff)
Throw exceptions for errors in the effect getters/setters
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 76ead78f..83071d0e 100644
--- a/alc/effects/base.h
+++ b/alc/effects/base.h
@@ -140,15 +140,15 @@ public:
struct EffectVtable {
- void (*const setParami)(EffectProps *props, ALCcontext *context, ALenum param, int val);
- void (*const setParamiv)(EffectProps *props, ALCcontext *context, ALenum param, const int *vals);
- void (*const setParamf)(EffectProps *props, ALCcontext *context, ALenum param, float val);
- void (*const setParamfv)(EffectProps *props, ALCcontext *context, ALenum param, const float *vals);
-
- void (*const getParami)(const EffectProps *props, ALCcontext *context, ALenum param, int *val);
- void (*const getParamiv)(const EffectProps *props, ALCcontext *context, ALenum param, int *vals);
- void (*const getParamf)(const EffectProps *props, ALCcontext *context, ALenum param, float *val);
- void (*const getParamfv)(const EffectProps *props, ALCcontext *context, ALenum param, float *vals);
+ void (*const setParami)(EffectProps *props, ALenum param, int val);
+ void (*const setParamiv)(EffectProps *props, ALenum param, const int *vals);
+ void (*const setParamf)(EffectProps *props, ALenum param, float val);
+ void (*const setParamfv)(EffectProps *props, ALenum param, const float *vals);
+
+ void (*const getParami)(const EffectProps *props, ALenum param, int *val);
+ void (*const getParamiv)(const EffectProps *props, ALenum param, int *vals);
+ void (*const getParamf)(const EffectProps *props, ALenum param, float *val);
+ void (*const getParamfv)(const EffectProps *props, ALenum param, float *vals);
};
#define DEFINE_ALEFFECT_VTABLE(T) \