From e99242a33df6cf2194cf4411475a194597f8a439 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 30 Apr 2016 16:58:33 +0200 Subject: [PATCH] python/ext/aubio-types.h: remove warning, add comments --- python/ext/aubio-types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/ext/aubio-types.h b/python/ext/aubio-types.h index 250d7093..71ea0cfb 100644 --- a/python/ext/aubio-types.h +++ b/python/ext/aubio-types.h @@ -35,11 +35,12 @@ #define Py_aubio_default_samplerate 44100 #if HAVE_AUBIO_DOUBLE -#warning "double mode needs love" +// 64 bit precision with HAVE_AUBIO_DOUBLE=1 #define AUBIO_NPY_SMPL NPY_DOUBLE #define AUBIO_NPY_SMPL_STR "float64" #define AUBIO_NPY_SMPL_CHR "d" #else +// default is 32 bit precision #define AUBIO_NPY_SMPL NPY_FLOAT #define AUBIO_NPY_SMPL_STR "float32" #define AUBIO_NPY_SMPL_CHR "f" -- 2.11.0