From: Paul Brossier Date: Sat, 30 Apr 2016 14:58:33 +0000 (+0200) Subject: python/ext/aubio-types.h: remove warning, add comments X-Git-Tag: 0.4.4~300^2~150 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=e99242a33df6cf2194cf4411475a194597f8a439;p=aubio.git python/ext/aubio-types.h: remove warning, add comments --- 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"