Make run faster on ARM CPUs using fast math approximation
Use --fast-math to use sine/cosine tables and approximate atan2.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "../libtimer/timer.h"
|
||||
#include "../libmobile/call.h"
|
||||
#include "../liboptions/options.h"
|
||||
#include "../libfm/fm.h"
|
||||
#include "freiton.h"
|
||||
#include "besetztton.h"
|
||||
#include "anetz.h"
|
||||
@@ -176,6 +177,8 @@ int main(int argc, char *argv[])
|
||||
if (!loopback)
|
||||
print_image();
|
||||
|
||||
/* inits */
|
||||
fm_init(fast_math);
|
||||
dsp_init();
|
||||
anetz_init();
|
||||
|
||||
@@ -196,6 +199,9 @@ fail:
|
||||
while (sender_head)
|
||||
anetz_destroy(sender_head);
|
||||
|
||||
/* exits */
|
||||
fm_exit();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user