shithub: aubio

Download patch

ref: 8b3a7e791f7bd185b73ea9f2d599a9b9d3a4d049
parent: acb2ac95aace13bdc30e69ba5897a11a86c49fd3
author: Paul Brossier <piem@piem.org>
date: Fri Jan 6 15:52:34 EST 2012

src/spectral/fft.c: i only needed for FFTW3

--- a/src/spectral/fft.c
+++ b/src/spectral/fft.c
@@ -101,8 +101,8 @@
 
 aubio_fft_t * new_aubio_fft (uint_t winsize) {
   aubio_fft_t * s = AUBIO_NEW(aubio_fft_t);
-  uint_t i;
 #ifdef HAVE_FFTW3
+  uint_t i;
   s->winsize  = winsize;
   /* allocate memory */
   s->in       = AUBIO_ARRAY(real_t,winsize);