History

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

Paul Brossier committed 10 years ago

Commit e99242a1 parent 7a62fcb1 file · +2 −1Browse files

Showing the changes to python/ext (1 of 1 file). Show all

Unified · Split

python/ext/aubio-types.h+2−1
@@ -35,11 +35,12 @@ · 34 unmodified lines
3535 #define Py_aubio_default_samplerate 44100
3636
3737 #if HAVE_AUBIO_DOUBLE
38−#warning "double mode needs love"
38+// 64 bit precision with HAVE_AUBIO_DOUBLE=1
3939 #define AUBIO_NPY_SMPL NPY_DOUBLE
4040 #define AUBIO_NPY_SMPL_STR "float64"
4141 #define AUBIO_NPY_SMPL_CHR "d"
4242 #else
43+// default is 32 bit precision
4344 #define AUBIO_NPY_SMPL NPY_FLOAT
4445 #define AUBIO_NPY_SMPL_STR "float32"
4546 #define AUBIO_NPY_SMPL_CHR "f"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t