commit | cf07bb328deb71cf2dc602f435b5340b0b55a2e5 | [log] [tgz] |
---|---|---|
author | Franklin Wei <git@fwei.tk> | Fri Jan 05 17:25:03 2018 -0500 |
committer | Franklin Wei <git@fwei.tk> | Mon Jan 15 19:45:28 2018 -0500 |
tree | e90dc67756cedabb0e857ad2f44309791a92e38b | |
parent | 69ff35ac497abddd0559412f82682d717888eb03 [diff] |
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