diff options
author | Chris Robinson <[email protected]> | 2017-05-27 22:47:40 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-05-27 22:47:40 -0700 |
commit | a79e8f3d95873ce2898bddaeb0973b255172e44d (patch) | |
tree | 6268b20291c45d8d7f8daeeddcecca4ddea0db8e /Alc/ALc.c | |
parent | e9505b164e6587b1bb0d04b478ddc45033dfbac8 (diff) |
Use peak limiting rather than RMS detection
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1740,7 +1740,7 @@ static void alcSetError(ALCdevice *device, ALCenum errorCode) struct Compressor *CreateDeviceLimiter(const ALCdevice *device) { - return CompressorInit(0.0f, 0.0f, AL_FALSE, AL_TRUE, 0.0f, 0.0f, 0.5f, 2.0f, + 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); } |