aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-11 23:26:29 -0700
committerChris Robinson <[email protected]>2017-05-11 23:26:29 -0700
commitd456c799fdb844a3ef9e96a95084a7b68928247f (patch)
tree494be5728ef3c791fb8ce2c9aee19f64ff0298e4 /Alc/effects/reverb.c
parent685dc24299b0ce7d51f27387af2cbf69f9fec7b8 (diff)
Remove the 0.5 gain on the reverb output
Turns out to be unnecessary, as it reduced the volume below what other reverb implementations provide with the same presets.
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r--Alc/effects/reverb.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index 77a19c7f..07a1b679 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -1412,12 +1412,8 @@ static ALvoid ALreverbState_update(ALreverbState *State, const ALCdevice *Device
props->Reverb.EchoTime, props->Reverb.EchoDepth,
frequency, State);
- /* Update early and late 3D panning. Attenuate the early and late stages
- * both by 0.5 (-6dB) to better balance the early and late mixture, and
- * also to balance the two-step early reflection taps (which feed into the
- * late reverb).
- */
- gain = 0.5f * props->Reverb.Gain * Slot->Params.Gain * ReverbBoost;
+ /* Update early and late 3D panning. */
+ gain = props->Reverb.Gain * Slot->Params.Gain * ReverbBoost;
Update3DPanning(Device, props->Reverb.ReflectionsPan,
props->Reverb.LateReverbPan, gain,
props->Reverb.ReflectionsGain,