shithub: aubio

Download patch

ref: e458af4c9c2d0c9cbe4b8d7b81cedf3e4b215388
parent: eed413353c79f36d295843a496b0f9faf4a12bd3
author: Paul Brossier <piem@piem.org>
date: Sun Aug 12 18:36:58 EDT 2018

src/spectral/dct.c: ooura supports any power of 2

--- a/src/spectral/dct.c
+++ b/src/spectral/dct.c
@@ -124,8 +124,8 @@
     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);