From: Paul Brossier Date: Thu, 17 Sep 2009 05:16:20 +0000 (+0200) Subject: src/spectral/fft.c: use native fftw types, add warning if single fftw is used with... X-Git-Tag: bzr2git~347 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4369cb9ca99fcf17bbd0359c8ee8329ba113a482;p=aubio.git src/spectral/fft.c: use native fftw types, add warning if single fftw is used with aubio double --- diff --git a/src/spectral/fft.c b/src/spectral/fft.c index 6c8c578a..31159a56 100644 --- 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 {