aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-11 06:50:53 -0800
committerChris Robinson <[email protected]>2018-01-11 06:50:53 -0800
commit9b9ec2c21a7f0992a6ca64ac9cb2a03838e11cd7 (patch)
tree94a959806234d4b3699eb8c676732021c0718cf7 /OpenAL32/Include
parentf3c9bc114cb1d136fce4e790d6d2721430eb30dc (diff)
Move the compressor/limiter declarations to their own header
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 7af7b4bb..bbf64349 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -959,34 +959,6 @@ vector_al_string SearchDataFiles(const char *match, const char *subdir);
typedef ALfloat ALfloatBUFFERSIZE[BUFFERSIZE];
typedef ALfloat ALfloat2[2];
-
-/* The compressor requires the following information for proper
- * initialization:
- *
- * PreGainDb - Gain applied before detection (in dB).
- * PostGainDb - Gain applied after compression (in dB).
- * SummedLink - Whether to use summed (true) or maxed (false) linking.
- * RmsSensing - Whether to use RMS (true) or Peak (false) sensing.
- * AttackTimeMin - Minimum attack time (in seconds).
- * AttackTimeMax - Maximum attack time. Automates when min != max.
- * ReleaseTimeMin - Minimum release time (in seconds).
- * ReleaseTimeMax - Maximum release time. Automates when min != max.
- * Ratio - Compression ratio (x:1). Set to 0 for true limiter.
- * ThresholdDb - Triggering threshold (in dB).
- * KneeDb - Knee width (below threshold; in dB).
- * SampleRate - Sample rate to process.
- */
-struct Compressor *CompressorInit(const ALfloat PreGainDb, const ALfloat PostGainDb,
- const ALboolean SummedLink, const ALboolean RmsSensing, const ALfloat AttackTimeMin,
- const ALfloat AttackTimeMax, const ALfloat ReleaseTimeMin, const ALfloat ReleaseTimeMax,
- const ALfloat Ratio, const ALfloat ThresholdDb, const ALfloat KneeDb,
- const ALuint SampleRate);
-
-ALuint GetCompressorSampleRate(const struct Compressor *Comp);
-
-void ApplyCompression(struct Compressor *Comp, const ALsizei NumChans, const ALsizei SamplesToDo,
- ALfloat (*restrict OutBuffer)[BUFFERSIZE]);
-
#ifdef __cplusplus
}
#endif