Use peak limiting rather than RMS detection

This commit is contained in:
Chris Robinson
2017-05-27 22:47:40 -07:00
parent e9505b164e
commit a79e8f3d95
+1 -1
View File
@@ -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);
}