3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-04-30 01:42:58 +02:00

Merge pull request from kencooke/master

make self-reverb depend on wetDryMix
This commit is contained in:
Brad Hefta-Gaub 2016-03-30 15:44:20 -07:00
commit 2381ab1cba

View file

@ -555,7 +555,7 @@ void AudioClient::configureReverb() {
p.wetDryMix = 100.0f;
p.preDelay = 0.0f;
p.earlyGain = -96.0f; // disable ER
p.lateGain -= 12.0f; // quieter than listener reverb
p.lateGain += _reverbOptions->getWetDryMix() * (24.0f/100.0f) - 24.0f; // -0dB to -24dB, based on wetDryMix
p.lateMixLeft = 0.0f;
p.lateMixRight = 0.0f;