shithub: aubio

Download patch

ref: e99242a33df6cf2194cf4411475a194597f8a439
parent: 7a62fcb6cbbdf7e0478a4911feda8d21c1b9b1b7
author: Paul Brossier <piem@piem.org>
date: Sat Apr 30 12:58:33 EDT 2016

python/ext/aubio-types.h: remove warning, add comments

--- 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"