summaryrefslogtreecommitdiffstats
path: root/Alc/effects/modulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/modulator.c')
-rw-r--r--Alc/effects/modulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c
index a7b84d30..0a8a4512 100644
--- a/Alc/effects/modulator.c
+++ b/Alc/effects/modulator.c
@@ -205,9 +205,10 @@ static void ALmodulatorState_Delete(ALmodulatorState *state)
DEFINE_ALEFFECTSTATE_VTABLE(ALmodulatorState);
-static ALeffectState *ALmodulatorStateFactory_create(void)
+static ALeffectState *ALmodulatorStateFactory_create(ALmodulatorStateFactory *factory)
{
ALmodulatorState *state;
+ (void)factory;
state = malloc(sizeof(*state));
if(!state) return NULL;