aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-04-26 18:38:09 -0700
committerChris Robinson <[email protected]>2017-04-26 18:38:09 -0700
commitca5c732261bfacdb4702fcc253b3ef0dad357a35 (patch)
tree9d9ff19e5bc80a3a5d44ba2c7a464b85097d37f1 /Alc/backends/wave.c
parent1754d54c18b58995718d2695151a945ee232b0f1 (diff)
Implement a limiter on the device output
This reduces the output volume when the mixed samples extend outside of -1,+1, to prevent excessive clipping. It can reduce the volume by -80dB in 50ms, and increase it by +80dB in 1s (it will not go below -80dB or above 0dB).
Diffstat (limited to 'Alc/backends/wave.c')
0 files changed, 0 insertions, 0 deletions