aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-01-29 13:06:40 -0800
committerChris Robinson <[email protected]>2017-01-29 13:06:40 -0800
commit55a2474d7e5ad39d4dc1c07082314bb26a528335 (patch)
treeff60aae35b00dbea62541f38cc8c7ee48921b3ab /Alc
parent3cc88b0aab9914ec6ebc4655d7d3e99fa9730431 (diff)
Fix late reverb low-pass filtering
Diffstat (limited to 'Alc')
-rw-r--r--Alc/effects/reverb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index c0b5546f..456b25dc 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -1357,7 +1357,7 @@ static ALvoid LateReverb(ALreverbState *State, ALsizei todo, ALfloat (*restrict
/* Apply a low-pass filter to simulate surface absorption. */
for(j = 0;j < 4;j++)
- f[j] = LateLowPassInOut(State, 0, f[j]);
+ f[j] = LateLowPassInOut(State, j, f[j]);
/* To help increase diffusion, run each line through three all-pass
* filters. This is where the feedback cycles from line 0 to 3 to 1 to