projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
69dbe0a
)
[py] filterbank.set_mel_coeffs_slaney accepts float
author
Paul Brossier
<piem@piem.org>
Sat, 17 Nov 2018 13:17:02 +0000
(14:17 +0100)
committer
Paul Brossier
<piem@piem.org>
Sat, 17 Nov 2018 13:17:02 +0000
(14:17 +0100)
python/ext/py-filterbank.c
patch
|
blob
|
history
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;
}