diff options
author | Chris Robinson <[email protected]> | 2017-05-29 03:38:27 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-29 03:38:27 -0700 |
commit | 6d4adc6ad6f387dcde4e01099e33672c4a19fda6 (patch) | |
tree | 7e40f261f38a85ac2a5a95125750fb2713a3f61f | |
parent | 07bb5f13223564bb7a1e8b0608dc24caa67fbae6 (diff) |
Use an RMS limit of -3dB for the output limiter
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |