From 53d8a496736c61b9cde5d982737bed98b2f72004 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 12 Sep 2016 11:48:15 -0700 Subject: 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. --- Alc/effects/equalizer.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Alc/effects/equalizer.c') diff --git a/Alc/effects/equalizer.c b/Alc/effects/equalizer.c index 61932ffb..1a63b418 100644 --- a/Alc/effects/equalizer.c +++ b/Alc/effects/equalizer.c @@ -151,7 +151,6 @@ static ALvoid ALequalizerState_update(ALequalizerState *state, const ALCdevice * state->filter[0][i].b0 = state->filter[0][0].b0; state->filter[0][i].b1 = state->filter[0][0].b1; state->filter[0][i].b2 = state->filter[0][0].b2; - state->filter[0][i].process = state->filter[0][0].process; } gain = props->Equalizer.Mid1Gain; @@ -168,7 +167,6 @@ static ALvoid ALequalizerState_update(ALequalizerState *state, const ALCdevice * state->filter[1][i].b0 = state->filter[1][0].b0; state->filter[1][i].b1 = state->filter[1][0].b1; state->filter[1][i].b2 = state->filter[1][0].b2; - state->filter[1][i].process = state->filter[1][0].process; } gain = props->Equalizer.Mid2Gain; @@ -185,7 +183,6 @@ static ALvoid ALequalizerState_update(ALequalizerState *state, const ALCdevice * state->filter[2][i].b0 = state->filter[2][0].b0; state->filter[2][i].b1 = state->filter[2][0].b1; state->filter[2][i].b2 = state->filter[2][0].b2; - state->filter[2][i].process = state->filter[2][0].process; } gain = sqrtf(props->Equalizer.HighGain); @@ -200,7 +197,6 @@ static ALvoid ALequalizerState_update(ALequalizerState *state, const ALCdevice * state->filter[3][i].b0 = state->filter[3][0].b0; state->filter[3][i].b1 = state->filter[3][0].b1; state->filter[3][i].b2 = state->filter[3][0].b2; - state->filter[3][i].process = state->filter[3][0].process; } } -- cgit v1.2.3