Speed MIDI decode 11%-64% with approximated powf (#793)

Use a numeric approximation to make powf much faster.  Loss of accuracy
isn't an issue in an audio output device.
This commit is contained in:
Earle F. Philhower, III authored and GitHub committed 2025-10-23 13:36:47 -07:00
1 parent 41b96ef000
commit 5a0375f409
10 files changed
+1399 -970

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
rm -rf libtinysoundfont
mkdir libtinysoundfont
cp TinySoundFont/tsf.h TinySoundFont/README* TinySoundFont/LICENSE libtinysoundfont/.
cp TinySoundFont/tsf.h TinySoundFont/README* TinySoundFont/LICENSE TinySoundFont/fast*.h TinySoundFont/cast.h libtinysoundfont/.
cd TinySoundFont/examples
bash build-linux-gcc.sh
cd ../..