projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffe76f
)
src/spectral/fft.c: use native fftw types, add warning if single fftw is used with...
author
Paul Brossier
<piem@piem.org>
Thu, 17 Sep 2009 05:16:20 +0000
(07:16 +0200)
committer
Paul Brossier
<piem@piem.org>
Thu, 17 Sep 2009 05:16:20 +0000
(07:16 +0200)
src/spectral/fft.c
patch
|
blob
|
history
diff --git
a/src/spectral/fft.c
b/src/spectral/fft.c
index 6c8c578a2fce07f6d26182dd33e3b7e2bac62be9..31159a563d87e83f61ede1fe1e2a1f6a8075ff89 100644
(file)
--- a/
src/spectral/fft.c
+++ b/
src/spectral/fft.c
@@
-35,9
+35,12
@@
#endif
#if FFTW3F_SUPPORT
-#define real_t smpl_t
+#if !AUBIO_SINGLE_PRECISION
+#warning "Using aubio in double precision with fftw3 in single precision"
+#endif
+#define real_t float
#else
-#define real_t
lsmp_t
+#define real_t
double
#endif
struct _aubio_fft_t {