Apply late reverb density gain on late reverb input
commit125ac166d19a17bc767f1193847e0d53f6a73279
authorChris Robinson <chris.kcat@gmail.com>
Thu, 9 Aug 2018 02:30:58 +0000 (8 19:30 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Thu, 9 Aug 2018 02:30:58 +0000 (8 19:30 -0700)
tree272d390303f968e47b6a2f97456f1056e6182b65
parent1e33c4a922af156ca0cc5efd976c1ecc0cb3e176
Apply late reverb density gain on late reverb input

This also uses gain stepping for changes in density or decay, so that the
late reverb tap fades smoothly between delay offsets and density gain levels
simultaneously. Now with these changes, it's preferrable to apply density gain
adjustments on late reverb input instead of output so that samples currently in
the feedback loop won't see a sudden increase or decrease in amplitude.

A similar change can probably be made for the early reflection delays to
further smooth out delay changes.
Alc/effects/reverb.c