shithub: aubio

Download patch

ref: 852610214b1e28b9a661c3e3128a9c9995a31dc0
parent: 7d01fdfb98b9f01e78c442ee8034686fe7d9038e
author: Paul Brossier <piem@piem.org>
date: Tue Sep 27 14:26:02 EDT 2016

src/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes

--- a/src/spectral/fft.c
+++ b/src/spectral/fft.c
@@ -188,8 +188,8 @@
   s->fftSetup = aubio_vDSP_create_fftsetup(s->log2fftsize, FFT_RADIX2);
 #else                         // using OOURA
   if (aubio_is_power_of_two(winsize) != 1) {
-    AUBIO_ERR("fft: can only create with sizes power of two,"
-              " requested %d\n", winsize);
+    AUBIO_ERR("fft: can only create with sizes power of two, requested %d,"
+        " try recompiling aubio with --enable-fftw3\n", winsize);
     goto beach;
   }
   s->winsize = winsize;
--