summaryrefslogtreecommitdiff
path: root/apps/plugins/fft/math.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-04-16 17:47:58 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-04-26 00:11:04 +0200
commit95e23defb085ee1a846ec2d379368485921d5aee (patch)
tree0bdb31f562fef8c7ff5f3f7dba9c54f9c1e84a76 /apps/plugins/fft/math.h
parent8829e909b4e756bfb2ad9210eec61d0dc55e1731 (diff)
downloadrockbox-95e23defb085ee1a846ec2d379368485921d5aee.tar.gz
rockbox-95e23defb085ee1a846ec2d379368485921d5aee.zip
Make fixepoint.c as a shared library (libfixedpoint.a).
Change-Id: Icc10d6e85f890c432f191233a4d64e09f00be43d Reviewed-on: http://gerrit.rockbox.org/456 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
Diffstat (limited to 'apps/plugins/fft/math.h')
-rw-r--r--apps/plugins/fft/math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/fft/math.h b/apps/plugins/fft/math.h
index ffacf1eedb..5545c497f2 100644
--- a/apps/plugins/fft/math.h
+++ b/apps/plugins/fft/math.h
@@ -3,7 +3,7 @@
3 3
4#include <inttypes.h> 4#include <inttypes.h>
5#include <math.h> 5#include <math.h>
6#include "lib/fixedpoint.h" 6#include "fixedpoint.h"
7 7
8#define Q_MUL(a, b, bits) (( (int64_t) (a) * (int64_t) (b) ) >> (bits)) 8#define Q_MUL(a, b, bits) (( (int64_t) (a) * (int64_t) (b) ) >> (bits))
9#define Q15_MUL(a, b) Q_MUL(a,b,15) 9#define Q15_MUL(a, b) Q_MUL(a,b,15)