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 (1 of 1 file). Show all

Unified · Split

python/ext/aubio-types.h+2−1
@@ -35,11 +35,12 @@ · 34 unmodified lines
35#define Py_aubio_default_samplerate 4410035#define Py_aubio_default_samplerate 44100
36 36
37#if HAVE_AUBIO_DOUBLE37#if HAVE_AUBIO_DOUBLE
38#warning "double mode needs love"38// 64 bit precision with HAVE_AUBIO_DOUBLE=1
39#define AUBIO_NPY_SMPL NPY_DOUBLE39#define AUBIO_NPY_SMPL NPY_DOUBLE
40#define AUBIO_NPY_SMPL_STR "float64"40#define AUBIO_NPY_SMPL_STR "float64"
41#define AUBIO_NPY_SMPL_CHR "d"41#define AUBIO_NPY_SMPL_CHR "d"
42#else42#else
43// default is 32 bit precision
43#define AUBIO_NPY_SMPL NPY_FLOAT44#define AUBIO_NPY_SMPL NPY_FLOAT
44#define AUBIO_NPY_SMPL_STR "float32"45#define AUBIO_NPY_SMPL_STR "float32"
45#define AUBIO_NPY_SMPL_CHR "f"46#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