From 32025915d564d999c33e73a4b6084d9df0dbd42a Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sat, 10 Nov 2018 15:16:20 +0100 Subject: Make run faster on ARM CPUs using fast math approximation Use --fast-math to use sine/cosine tables and approximate atan2. --- src/jolly/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/jolly') 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; } -- cgit v1.2.3