Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -122,8 +122,8 @@ Py_filterbank_set_triangle_bands (Py_filterbank * self, PyObject *args) · 121 unmodified lines | ||
| 122 | 122 | uint_t err = 0; |
| 123 | 123 | |
| 124 | 124 | PyObject *input; |
| 125 | − uint_t samplerate; | |
| 126 | − if (!PyArg_ParseTuple (args, "OI", &input, &samplerate)) { | |
| 125 | + smpl_t samplerate; | |
| 126 | + if (!PyArg_ParseTuple (args, "Of", &input, &samplerate)) { | |
| 127 | 127 | return NULL; |
| 128 | 128 | } |
| 129 | 129 | |