ref: 35ce4ab5969423fef884b78be6efe12fd92d4a8a
parent: 7ed058cb5729e9ef8ed249e0ce233442537be3fc
author: Paul Brossier <piem@piem.org>
date: Tue Nov 20 17:33:58 EST 2018
[py] filterbank.set_triangle_bands can accept a float samplerate
--- a/python/ext/py-filterbank.c
+++ b/python/ext/py-filterbank.c
@@ -122,8 +122,8 @@
uint_t err = 0;
PyObject *input;
- uint_t samplerate;
- if (!PyArg_ParseTuple (args, "OI", &input, &samplerate)) {
+ smpl_t samplerate;
+ if (!PyArg_ParseTuple (args, "Of", &input, &samplerate)) {
return NULL;
}