From 1b572743b12f4a1b473c1a43df9367f75837d826 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Tue, 27 Sep 2016 18:26:02 +0200 Subject: [PATCH] src/spectral/fft.c: add message about fftw3 being able to do non-power of two sizes --- src/spectral/fft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spectral/fft.c b/src/spectral/fft.c index eab9967d..a6bd9027 100644 --- a/src/spectral/fft.c +++ b/src/spectral/fft.c @@ -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; -- 2.11.0