diff options
author | Chris Robinson <[email protected]> | 2022-04-16 13:40:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-04-16 13:40:46 -0700 |
commit | 5c0eabc5264a58e8fe9f78da6198587d78770d01 (patch) | |
tree | 10bc306702434a10213d14be236a2231f65f53b4 /al/effects/reverb.cpp | |
parent | adccf0aec935ff9b30e57aa8f4a1eb006beb92c2 (diff) |
Silence reverb with EAX by default
Diffstat (limited to 'al/effects/reverb.cpp')
-rw-r--r-- | al/effects/reverb.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/al/effects/reverb.cpp b/al/effects/reverb.cpp index 81990686..197ea500 100644 --- a/al/effects/reverb.cpp +++ b/al/effects/reverb.cpp @@ -804,6 +804,12 @@ void EaxReverbEffect::set_eax_defaults() eax1_ = EAX1REVERB_PRESETS[EAX_ENVIRONMENT_GENERIC]; eax1_d_ = eax1_; eax_ = EAXREVERB_PRESETS[EAX_ENVIRONMENT_GENERIC]; + /* HACK: EAX2 has a default room volume of -10,000dB (silence), although + * newer versions use -1,000dB. What should be happening is properties for + * each EAX version is tracked separately, with the last version used for + * the properties to apply (presumably v2 or nothing being the default). + */ + eax_.lRoom = EAXREVERB_MINROOM; eax_d_ = eax_; } |