shithub: aubio

Download patch

ref: c204928f979d4552caf205d4b5975d3b8cf27092
parent: 6017f9467b29f41341d9d2f11d3c82614608afcd
author: Paul Brossier <piem@piem.org>
date: Mon Jul 9 11:37:23 EDT 2012

src/spectral/fft.c: HAVE_AUBIO_DOUBLE is always defined

--- a/src/spectral/fft.c
+++ b/src/spectral/fft.c
@@ -63,12 +63,12 @@
 #endif
 
 #ifdef HAVE_FFTW3F
-#ifdef HAVE_AUBIO_DOUBLE
+#if HAVE_AUBIO_DOUBLE
 #warning "Using aubio in double precision with fftw3 in single precision"
 #endif /* HAVE_AUBIO_DOUBLE */
 #define real_t float 
 #else /* HAVE_FFTW3F */
-#ifndef HAVE_AUBIO_DOUBLE
+#if !HAVE_AUBIO_DOUBLE
 #warning "Using aubio in single precision with fftw3 in double precision"
 #endif /* HAVE_AUBIO_DOUBLE */
 #define real_t double