diff options
author | Chris Robinson <[email protected]> | 2017-03-31 06:54:46 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-03-31 06:54:46 -0700 |
commit | ac8b4aa5f66db68609459a9444c2a7083b2e8f28 (patch) | |
tree | d4f05d86836bcfba85fdb8accee4a95034fbad2d /Alc/bformatdec.c | |
parent | 9fb07101dc0ab5b7f2785584b4c29e18232ba99c (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 'Alc/bformatdec.c')
0 files changed, 0 insertions, 0 deletions