aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-24 07:30:01 -0800
committerChris Robinson <[email protected]>2018-12-24 07:30:01 -0800
commit68352d318863105573e5022d1fc5383ac52f5de2 (patch)
treefbca9e38864fd30c0df729953262b2f835f27f63 /OpenAL32/Include/alMain.h
parentef101523610a26639228fd88bfd303cb31dbd025 (diff)
Apply the limiter before distance compensation
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h4
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};