aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-29 03:38:27 -0700
committerChris Robinson <[email protected]>2017-05-29 03:38:27 -0700
commit6d4adc6ad6f387dcde4e01099e33672c4a19fda6 (patch)
tree7e40f261f38a85ac2a5a95125750fb2713a3f61f /Alc/ALc.c
parent07bb5f13223564bb7a1e8b0608dc24caa67fbae6 (diff)
Use an RMS limit of -3dB for the output limiter
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 2 insertions, 2 deletions
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