src/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes
authorPaul Brossier <piem@piem.org>
Tue, 27 Sep 2016 16:26:02 +0000 (18:26 +0200)
committerPaul Brossier <piem@piem.org>
Tue, 27 Sep 2016 23:53:46 +0000 (01:53 +0200)
src/spectral/fft.c

index eab9967..a6bd902 100644 (file)
@@ -188,8 +188,8 @@ aubio_fft_t * new_aubio_fft (uint_t winsize) {
   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;