aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-03-31 06:54:46 -0700
committerChris Robinson <[email protected]>2017-03-31 06:54:46 -0700
commitac8b4aa5f66db68609459a9444c2a7083b2e8f28 (patch)
treed4f05d86836bcfba85fdb8accee4a95034fbad2d /OpenAL32/alBuffer.c
parent9fb07101dc0ab5b7f2785584b4c29e18232ba99c (diff)
Convert integer samples to float using a power-of-2 divisor
This should cut down on unnecessary quantization noise (however minor) for 8- and 16-bit samples. Unfortunately a power-of-2 multiple can't be used as easily for converting float samples to integer, due to integer types having a non- power-of-2 maximum amplitude (it'd require more per-sample clamping).
Diffstat (limited to 'OpenAL32/alBuffer.c')
0 files changed, 0 insertions, 0 deletions