aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-11-19 09:14:40 -0800
committerChris Robinson <[email protected]>2008-11-19 09:14:40 -0800
commit5f84c5339d47ec2583ab27cdc10baa80de85b34c (patch)
treece2ce2d8122e3f0c2585f949399bc081689c3c2b
parent2d461379efa454e68982dbbcab3add0627d777c8 (diff)
Fix early reflection input
-rw-r--r--Alc/alcReverb.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c
index b1dfb25a..cb23eaed 100644
--- a/Alc/alcReverb.c
+++ b/Alc/alcReverb.c
@@ -179,12 +179,11 @@ static __inline ALvoid EarlyReflection(ALverbState *State, ALfloat in, ALfloat *
f[2] = v - d[2];
f[3] = v - d[3];
- // To increase reflection complexity (and help reduce coloration) the
- // delay lines cyclicly refeed themselves (0 -> 1 -> 3 -> 2 -> 0...).
- DelayLineIn(&State->Early.Delay[0], State->Offset, f[2]);
- DelayLineIn(&State->Early.Delay[1], State->Offset, f[0]);
- DelayLineIn(&State->Early.Delay[2], State->Offset, f[3]);
- DelayLineIn(&State->Early.Delay[3], State->Offset, f[1]);
+ // Refeed the delay lines.
+ DelayLineIn(&State->Early.Delay[0], State->Offset, f[0]);
+ DelayLineIn(&State->Early.Delay[1], State->Offset, f[1]);
+ DelayLineIn(&State->Early.Delay[2], State->Offset, f[2]);
+ DelayLineIn(&State->Early.Delay[3], State->Offset, f[3]);
// To decorrelate the output for stereo separation, the cyclical nature
// of the feed path is exploited. The two outputs are obtained from the