aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/equalizer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-27 13:16:17 -0700
committerChris Robinson <[email protected]>2013-05-27 13:16:17 -0700
commit334a7c1d59961277263a7a69575325aeef0987ee (patch)
treef96e8536a0e1a1e5e099ee00ffc76f51f0d4532d /Alc/effects/equalizer.c
parent8d874512b6a1520dc9fbbe6322495e9e2da9dc3c (diff)
Cleanup the ALeffectStateFactory_create methods
Get rid of the ALeffectStateFactory_create macro, and use the VCALL_NOARGS helper (requires adding the 'this' factory parameter).
Diffstat (limited to 'Alc/effects/equalizer.c')
-rw-r--r--Alc/effects/equalizer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/effects/equalizer.c b/Alc/effects/equalizer.c
index 1264e93c..3a77c63f 100644
--- a/Alc/effects/equalizer.c
+++ b/Alc/effects/equalizer.c
@@ -284,10 +284,11 @@ static void ALequalizerState_Delete(ALequalizerState *state)
DEFINE_ALEFFECTSTATE_VTABLE(ALequalizerState);
-ALeffectState *ALequalizerStateFactory_create(void)
+ALeffectState *ALequalizerStateFactory_create(ALequalizerStateFactory *factory)
{
ALequalizerState *state;
int it;
+ (void)factory;
state = malloc(sizeof(*state));
if(!state) return NULL;