aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-09-25 10:04:14 -0700
committerChris Robinson <[email protected]>2018-09-25 10:04:14 -0700
commitc69338bc0dc338db7077a2c6759222ca4703f4eb (patch)
treef5836d8947bf0725e65f372e2d7b5d25815536eb /Alc/backends
parent39c3314d0064f89147f21291ed1068cf83b18977 (diff)
Update the output limiter/compressor
This provides better characteristics for an amplitude limiter. In particular, it utilizes the peak amplitude instead of the RMS, and the used parameters basically guarantee no output samples exceed the given threshold... almost, due to floating-point errors as the threshold is converted from dB to log-e for the envelope, then is negated and converted to linear amplitude to apply to the signal. It's quite possible for some rounding errors to creep in and not perfectly saturate the result.
Diffstat (limited to 'Alc/backends')
0 files changed, 0 insertions, 0 deletions