From e458af4c9c2d0c9cbe4b8d7b81cedf3e4b215388 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 12 Aug 2018 22:36:58 +0200 Subject: [PATCH] src/spectral/dct.c: ooura supports any power of 2 --- src/spectral/dct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spectral/dct.c b/src/spectral/dct.c index e700104c..85c0098e 100644 --- a/src/spectral/dct.c +++ b/src/spectral/dct.c @@ -124,8 +124,8 @@ aubio_dct_t* new_aubio_dct (uint_t size) { goto plain; } #else - // ooura does not support sizes < 16 or non-power of 2 - if (aubio_is_power_of_two(size) != 1 || size < 16) { + // ooura support sizes that are power of 2 + if (aubio_is_power_of_two(size) != 1) { goto plain; } s->dct = (void *)new_aubio_dct_ooura (size); -- 2.11.0