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.
This commit is contained in:
Chris Robinson
2017-05-11 23:26:29 -07:00
parent 685dc24299
commit d456c799fd
+2 -6
View File
@@ -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,