diff options
| author | Franklin Wei <git@fwei.tk> | 2018-01-05 17:25:03 -0500 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2018-01-05 17:47:03 -0500 |
| commit | f90bb989852524a940d5fbab3726412f520f2b59 (patch) | |
| tree | cd743d15124dc097feb6094c45849caa45218c4d /apps/plugins/lua/lcode.c | |
| parent | 6571a0225233072ff108f8c61153f1f8bfba27ec (diff) | |
| download | rockbox-f90bb989852524a940d5fbab3726412f520f2b59.zip rockbox-f90bb989852524a940d5fbab3726412f520f2b59.tar.gz rockbox-f90bb989852524a940d5fbab3726412f520f2b59.tar.bz2 rockbox-f90bb989852524a940d5fbab3726412f520f2b59.tar.xz | |
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/lua/lcode.c')
0 files changed, 0 insertions, 0 deletions