From: Paul Brossier Date: Mon, 28 Sep 2009 19:17:53 +0000 (+0200) Subject: src/spectral/fft.c: add a warning if using fftw3 with aubio single X-Git-Tag: bzr2git~265 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fd6b90f306465ae305ebf0f2b2ee1d8a1418c744;p=aubio.git src/spectral/fft.c: add a warning if using fftw3 with aubio single --- diff --git a/src/spectral/fft.c b/src/spectral/fft.c index 09177a3e..9403d7f4 100644 --- a/src/spectral/fft.c +++ b/src/spectral/fft.c @@ -37,11 +37,14 @@ #if HAVE_FFTW3F #if HAVE_AUBIO_DOUBLE #warning "Using aubio in double precision with fftw3 in single precision" -#endif +#endif /* HAVE_AUBIO_DOUBLE */ #define real_t float -#else +#else /* HAVE_FFTW3F */ +#if !HAVE_AUBIO_DOUBLE +#warning "Using aubio in single precision with fftw3 in double precision" +#endif /* HAVE_AUBIO_DOUBLE */ #define real_t double -#endif +#endif /* HAVE_FFTW3F */ struct _aubio_fft_t { uint_t winsize;