aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/effects/reverb.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index 972bb717..820ab70a 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -1412,8 +1412,10 @@ static ALvoid ALreverbState_update(ALreverbState *State, const ALCdevice *Device
props->Reverb.EchoTime, props->Reverb.EchoDepth,
frequency, State);
- /* Update early and late 3D panning. */
- gain = props->Reverb.Gain * Slot->Params.Gain * ReverbBoost;
+ /* Update early and late 3D panning. Attenuate the early and late stages
+ * both by 0.7071 (-3dB) to better balance the mixture.
+ */
+ gain = sqrtf(0.5f) * props->Reverb.Gain * Slot->Params.Gain * ReverbBoost;
Update3DPanning(Device, props->Reverb.ReflectionsPan,
props->Reverb.LateReverbPan, gain,
props->Reverb.ReflectionsGain,