ref: 4369cb9ca99fcf17bbd0359c8ee8329ba113a482
parent: dffe76f2c700d1cfac23b01f9f501f510c6d70ce
author: Paul Brossier <piem@piem.org>
date: Thu Sep 17 03:16:20 EDT 2009
src/spectral/fft.c: use native fftw types, add warning if single fftw is used with aubio double
--- 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 {