aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/sample_cvt.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-08-27 06:28:04 -0700
committerChris Robinson <[email protected]>2016-08-27 06:28:04 -0700
commit3d59021702c2f6ea4dbdf5d2f6231fd945370e27 (patch)
tree670a7c60b98e2babacf1bee060aaeba89e314b63 /OpenAL32/sample_cvt.c
parent4b153dade82b0558c96d54828bd2f9f86dc808fd (diff)
Clamp the maximum mixing gain boost to 16
The combined source and listener gains now can't exceed a multiplier of 16 (~24dB). This is to avoid mixes getting out of control with large volume boosts, which reduces the effective precision given by floating-point.
Diffstat (limited to 'OpenAL32/sample_cvt.c')
0 files changed, 0 insertions, 0 deletions