projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7ed058c
)
[py] filterbank.set_triangle_bands can accept a float samplerate
author
Paul Brossier
<piem@piem.org>
Tue, 20 Nov 2018 21:33:58 +0000
(22:33 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 20 Nov 2018 21:33:58 +0000
(22:33 +0100)
python/ext/py-filterbank.c
patch
|
blob
|
history
diff --git
a/python/ext/py-filterbank.c
b/python/ext/py-filterbank.c
index
24f9f71
..
01d4d3f
100644
(file)
--- a/
python/ext/py-filterbank.c
+++ b/
python/ext/py-filterbank.c
@@
-122,8
+122,8
@@
Py_filterbank_set_triangle_bands (Py_filterbank * self, PyObject *args)
uint_t err = 0;
PyObject *input;
uint_t err = 0;
PyObject *input;
-
uint
_t samplerate;
- if (!PyArg_ParseTuple (args, "O
I
", &input, &samplerate)) {
+
smpl
_t samplerate;
+ if (!PyArg_ParseTuple (args, "O
f
", &input, &samplerate)) {
return NULL;
}
return NULL;
}