projects
/
aubio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[py] filterbank.set_mel_coeffs_slaney accepts float
[aubio.git]
/
python
/
ext
/
py-filterbank.c
diff --git
a/python/ext/py-filterbank.c
b/python/ext/py-filterbank.c
index
99d81d9
..
24f9f71
100644
(file)
--- a/
python/ext/py-filterbank.c
+++ b/
python/ext/py-filterbank.c
@@
-156,8
+156,8
@@
Py_filterbank_set_mel_coeffs_slaney (Py_filterbank * self, PyObject *args)
{
uint_t err = 0;
-
uint
_t samplerate;
- if (!PyArg_ParseTuple (args,
"I"
, &samplerate)) {
+
smpl
_t samplerate;
+ if (!PyArg_ParseTuple (args,
AUBIO_NPY_SMPL_CHR
, &samplerate)) {
return NULL;
}