diff options
author | Chris Robinson <[email protected]> | 2018-12-24 07:30:01 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-24 07:30:01 -0800 |
commit | 68352d318863105573e5022d1fc5383ac52f5de2 (patch) | |
tree | fbca9e38864fd30c0df729953262b2f835f27f63 /OpenAL32 | |
parent | ef101523610a26639228fd88bfd303cb31dbd025 (diff) |
Apply the limiter before distance compensation
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<FrontStablizer> Stablizer; + std::unique_ptr<Compressor> Limiter; + /* Delay buffers used to compensate for speaker distances. */ DistanceComp ChannelDelay; - std::unique_ptr<Compressor> Limiter; - /* Dithering control. */ ALfloat DitherDepth{0.0f}; ALuint DitherSeed{0u}; |