aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-27 22:47:40 -0700
committerChris Robinson <[email protected]>2017-05-27 22:47:40 -0700
commita79e8f3d95873ce2898bddaeb0973b255172e44d (patch)
tree6268b20291c45d8d7f8daeeddcecca4ddea0db8e /Alc/ALc.c
parente9505b164e6587b1bb0d04b478ddc45033dfbac8 (diff)
Use peak limiting rather than RMS detection
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index dcda29c3..a79f3ab3 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -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);
}