shithub: aubio

Download patch

ref: 8428a52df2a6293bda52ca285c93e582f63d75b2
parent: b3146dfd7eb0e914026e6674e6a3c06c00fc3203
author: Paul Brossier <piem@piem.org>
date: Tue Sep 18 12:11:20 EDT 2018

src/spectral/mfcc.c: avoid undef, use slow version if HAVE_NOOPT

--- a/src/spectral/mfcc.c
+++ b/src/spectral/mfcc.c
@@ -31,7 +31,9 @@
 #include "spectral/dct.h"
 #include "spectral/mfcc.h"
 
-#undef HAVE_SLOW_DCT
+#ifdef HAVE_NOOPT
+#define HAVE_SLOW_DCT 1
+#endif
 
 /** Internal structure for mfcc object */