35 struct Compressor* CompressorInit(
const ALsizei NumChans,
const ALuint SampleRate,
36 const ALboolean AutoKnee,
const ALboolean AutoAttack,
37 const ALboolean AutoRelease,
const ALboolean AutoPostGain,
38 const ALboolean AutoDeclip,
const ALfloat LookAheadTime,
39 const ALfloat HoldTime,
const ALfloat PreGainDb,
40 const ALfloat PostGainDb,
const ALfloat ThresholdDb,
41 const ALfloat Ratio,
const ALfloat KneeDb,
42 const ALfloat AttackTime,
const ALfloat ReleaseTime);
44 void ApplyCompression(
struct Compressor *Comp,
const ALsizei SamplesToDo,
45 ALfloat (*restrict OutBuffer)[BUFFERSIZE]);
47 ALsizei GetCompressorLookAhead(
const struct Compressor *Comp);