Changeset 35f7e059
- Timestamp:
- Nov 20, 2018, 10:34:26 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- 15c3466
- Parents:
- 35ce4ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-filterbank.c
r35ce4ab r35f7e059 269 269 Py_filterbank_set_power(Py_filterbank *self, PyObject *args) 270 270 { 271 uint_t power;272 273 if (!PyArg_ParseTuple (args, " I", &power)) {271 smpl_t power; 272 273 if (!PyArg_ParseTuple (args, "f", &power)) { 274 274 return NULL; 275 275 } … … 292 292 Py_filterbank_set_norm(Py_filterbank *self, PyObject *args) 293 293 { 294 uint_t playing;295 296 if (!PyArg_ParseTuple (args, " I", &playing)) {297 return NULL; 298 } 299 if(aubio_filterbank_set_norm (self->o, playing)) {294 smpl_t norm; 295 296 if (!PyArg_ParseTuple (args, "f", &norm)) { 297 return NULL; 298 } 299 if(aubio_filterbank_set_norm (self->o, norm)) { 300 300 if (PyErr_Occurred() == NULL) { 301 301 PyErr_SetString (PyExc_ValueError,
Note: See TracChangeset
for help on using the changeset viewer.