src/spectral/fft.c: use native fftw types, add warning if single fftw is used with...
authorPaul Brossier <piem@piem.org>
Thu, 17 Sep 2009 05:16:20 +0000 (07:16 +0200)
committerPaul Brossier <piem@piem.org>
Thu, 17 Sep 2009 05:16:20 +0000 (07:16 +0200)
src/spectral/fft.c

index 6c8c578a2fce07f6d26182dd33e3b7e2bac62be9..31159a563d87e83f61ede1fe1e2a1f6a8075ff89 100644 (file)
 #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 {