shithub: aubio

Download patch

ref: 1b572743b12f4a1b473c1a43df9367f75837d826
parent: f50c950343c37b685940f84c6dff73335ee7fa5d
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;