aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/modulator.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-12-21 21:35:50 -0800
committerChris Robinson <[email protected]>2016-12-21 21:35:50 -0800
commit080b0cea8ba4c21f898c18b70187822cd18f2eb6 (patch)
tree7e57360ab7302e98b9e7fcb639ddfb9cb3585a82 /Alc/effects/modulator.c
parent4c33818dde702128be13040f9fc8bd0a5b835c76 (diff)
Reorder filter coefficients
Diffstat (limited to 'Alc/effects/modulator.c')
-rw-r--r--Alc/effects/modulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c
index 247cdf61..6d096048 100644
--- a/Alc/effects/modulator.c
+++ b/Alc/effects/modulator.c
@@ -137,11 +137,11 @@ static ALvoid ALmodulatorState_update(ALmodulatorState *state, const ALCdevice *
for(i = 0;i < MAX_EFFECT_CHANNELS;i++)
{
- state->Filter[i].a1 = -a;
- state->Filter[i].a2 = 0.0f;
state->Filter[i].b0 = a;
state->Filter[i].b1 = -a;
state->Filter[i].b2 = 0.0f;
+ state->Filter[i].a1 = -a;
+ state->Filter[i].a2 = 0.0f;
}
STATIC_CAST(ALeffectState,state)->OutBuffer = Device->FOAOut.Buffer;