aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-05 07:38:26 -0700
committerChris Robinson <[email protected]>2017-05-05 07:38:26 -0700
commit074e4496ba1136b5c9590dff21b6c1181b2a5541 (patch)
tree61b3fcf25fd735ce166d4549380f0ce763fc0b7e /OpenAL32/Include/alMain.h
parent64f0630fef7fadc8c30a0bd02cde37aa69ac64da (diff)
Calculate the output limiter gain using the RMS
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 1b1b1909..55f52bef 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -391,6 +391,7 @@ extern "C" {
struct Hrtf;
struct HrtfEntry;
+struct OutputLimiter;
#define DEFAULT_OUTPUT_RATE (44100)
@@ -793,7 +794,7 @@ struct ALCdevice_struct
ALsizei NumChannels;
} RealOut;
- ALfloat LimiterGain;
+ struct OutputLimiter *Limiter;
/* The average speaker distance as determined by the ambdec configuration
* (or alternatively, by the NFC-HOA reference delay). Only used for NFC.