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:
@@ -27,6 +27,7 @@
|
||||
#include "../libdebug/debug.h"
|
||||
#include "../libmobile/call.h"
|
||||
#include "../liboptions/options.h"
|
||||
#include "../libfm/fm.h"
|
||||
#include "amps.h"
|
||||
#include "dsp.h"
|
||||
#include "frame.h"
|
||||
@@ -329,7 +330,8 @@ int main_amps_tacs(int argc, char *argv[])
|
||||
print_image();
|
||||
sid_stations(sid);
|
||||
|
||||
/* init functions */
|
||||
/* inits */
|
||||
fm_init(fast_math);
|
||||
dsp_init();
|
||||
init_frame();
|
||||
|
||||
@@ -400,6 +402,9 @@ fail:
|
||||
while (sender_head)
|
||||
amps_destroy(sender_head);
|
||||
|
||||
/* exits */
|
||||
fm_exit();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user