From 6d4adc6ad6f387dcde4e01099e33672c4a19fda6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 29 May 2017 03:38:27 -0700 Subject: Use an RMS limit of -3dB for the output limiter --- Alc/ALc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index a79f3ab3..b31c4f08 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1740,8 +1740,8 @@ static void alcSetError(ALCdevice *device, ALCenum errorCode) struct Compressor *CreateDeviceLimiter(const ALCdevice *device) { - return CompressorInit(0.0f, 0.0f, AL_FALSE, AL_FALSE, 0.0f, 0.0f, 0.5f, 2.0f, - 0.0f, -0.5f, 3.0f, device->Frequency); + return CompressorInit(0.0f, 0.0f, AL_FALSE, AL_TRUE, 0.0f, 0.0f, 0.5f, 2.0f, + 0.0f, -3.0f, 3.0f, device->Frequency); } /* UpdateClockBase -- cgit v1.2.3