aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/autowah.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-07-26 00:03:44 -0700
committerChris Robinson <[email protected]>2016-07-26 00:03:44 -0700
commit11b38e11907ea383544bcf902f9ea891f4a3a5a4 (patch)
tree116551f3cbf55dba40ae6c948eec420fa806a09c /Alc/effects/autowah.c
parent0a693d039a376c116dc5facf2da5de5d2ef580ea (diff)
Rename input_gain to b0
Diffstat (limited to 'Alc/effects/autowah.c')
-rw-r--r--Alc/effects/autowah.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/autowah.c b/Alc/effects/autowah.c
index 648afc83..c8b70595 100644
--- a/Alc/effects/autowah.c
+++ b/Alc/effects/autowah.c
@@ -128,9 +128,9 @@ static ALvoid ALautowahState_process(ALautowahState *state, ALuint SamplesToDo,
state->LowPass.a1 = a[1] / a[0];
state->LowPass.a2 = a[2] / a[0];
+ state->LowPass.b0 = b[0] / a[0];
state->LowPass.b1 = b[1] / a[0];
state->LowPass.b2 = b[2] / a[0];
- state->LowPass.input_gain = b[0] / a[0];
temps[it] = ALfilterState_processSingle(&state->LowPass, smp);
}