From 68352d318863105573e5022d1fc5383ac52f5de2 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 24 Dec 2018 07:30:01 -0800 Subject: Apply the limiter before distance compensation --- OpenAL32/Include/alMain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenAL32/Include/alMain.h') diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index bc1dc222..3ed11193 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -778,11 +778,11 @@ struct ALCdevice_struct { std::unique_ptr Stablizer; + std::unique_ptr Limiter; + /* Delay buffers used to compensate for speaker distances. */ DistanceComp ChannelDelay; - std::unique_ptr Limiter; - /* Dithering control. */ ALfloat DitherDepth{0.0f}; ALuint DitherSeed{0u}; -- cgit v1.2.3