aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/modulator.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-09-12 11:48:15 -0700
committerChris Robinson <[email protected]>2016-09-12 11:48:15 -0700
commit53d8a496736c61b9cde5d982737bed98b2f72004 (patch)
treedf7338078af31cddfc6151b855979be7b19979b0 /Alc/effects/modulator.c
parent46b3e1d08ca10e809eb2e20b6371812958b97e1f (diff)
Call ALfilterState_processC directly
It's the only implementation currently, so there's no point to having it stored as a function pointer in the filter struct. Even if there were SIMD versions, it'd be a global selection, not per-instance.
Diffstat (limited to 'Alc/effects/modulator.c')
-rw-r--r--Alc/effects/modulator.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c
index 5ca37f4f..247cdf61 100644
--- a/Alc/effects/modulator.c
+++ b/Alc/effects/modulator.c
@@ -142,7 +142,6 @@ static ALvoid ALmodulatorState_update(ALmodulatorState *state, const ALCdevice *
state->Filter[i].b0 = a;
state->Filter[i].b1 = -a;
state->Filter[i].b2 = 0.0f;
- state->Filter[i].process = ALfilterState_processC;
}
STATIC_CAST(ALeffectState,state)->OutBuffer = Device->FOAOut.Buffer;