diff options
author | Franklin Wei <git@fwei.tk> | 2018-01-05 17:25:03 -0500 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2018-01-15 19:45:28 -0500 |
commit | cf07bb328deb71cf2dc602f435b5340b0b55a2e5 (patch) | |
tree | e90dc67756cedabb0e857ad2f44309791a92e38b /apps/plugins/sdl/src/timer/macos/FastTimes.c | |
parent | 69ff35ac497abddd0559412f82682d717888eb03 (diff) | |
download | rockbox-cf07bb328deb71cf2dc602f435b5340b0b55a2e5.tar.gz rockbox-cf07bb328deb71cf2dc602f435b5340b0b55a2e5.zip |
duke3d: further optimize audio mixing
Rather than holding intermediate results as fixed-point, this converts them
directly to normal integers (in the range of the PCM sample) while mixing,
instead of waiting till the end to perform a separate shifting step. Also,
this precalculates some constants in the reverb code.
Change-Id: Ie04e444d145bc28ce67eef9ae0ead6d328acf28a
Diffstat (limited to 'apps/plugins/sdl/src/timer/macos/FastTimes.c')
0 files changed, 0 insertions, 0 deletions