aboutsummaryrefslogtreecommitdiffstats
path: root/src/jolly
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2018-11-10 15:16:20 +0100
committerAndreas Eversberg <jolly@eversberg.eu>2018-11-10 15:18:28 +0100
commit32025915d564d999c33e73a4b6084d9df0dbd42a (patch)
tree718328859560d735f40d7a71ac3e75e0c339202e /src/jolly
parente8429166c3bfa5077d0dc353f345834e831f3e34 (diff)
Make run faster on ARM CPUs using fast math approximation
Use --fast-math to use sine/cosine tables and approximate atan2.
Diffstat (limited to 'src/jolly')
-rw-r--r--src/jolly/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jolly/main.c b/src/jolly/main.c
index 424b091..ac25191 100644
--- a/src/jolly/main.c
+++ b/src/jolly/main.c
@@ -182,6 +182,8 @@ int main(int argc, char *argv[])
goto fail;
}
+ /* inits */
+ fm_init(fast_math);
init_voice(samplerate);
dsp_init();
@@ -202,6 +204,9 @@ fail:
while (sender_head)
jolly_destroy(sender_head);
+ /* exits */
+ fm_exit();
+
return 0;
}