diff options
author | Chris Robinson <[email protected]> | 2016-10-10 01:33:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-10-10 01:33:33 -0700 |
commit | 16ed117d71aee8e0ee02b6e2873dacae15056d04 (patch) | |
tree | 343f95239e3b7c6cbc81d75ce2a507774fc7538c /Alc | |
parent | 4bb6b9589f730be4068012b33f0c4323c3794816 (diff) |
Restore a comment that was accidentally deleted
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/effects/reverb.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c index d8dd14f3..f2d5b718 100644 --- a/Alc/effects/reverb.c +++ b/Alc/effects/reverb.c @@ -667,6 +667,15 @@ static ALvoid UpdateDelayLine(ALfloat earlyDelay, ALfloat lateDelay, ALfloat den ALfloat length; ALuint i; + /* The early reflections and late reverb inputs are decorrelated to provide + * time-varying reflections, smooth out the reverb tail, and reduce harsh + * echoes. The first tap occurs immediately, while the remaining taps are + * delayed by multiples of a fraction of the smallest cyclical delay time. + * + * offset[index] = (FRACTION (MULTIPLIER^(index-1))) smallest_delay + * + * for index = 1...max_lines + */ State->EarlyDelayTap[0] = fastf2u(earlyDelay * frequency); for(i = 1;i < 4;i++) { |