Changeset 5c1200a for python/ext/py-filterbank.c
- Timestamp:
- Apr 18, 2016, 10:53:24 PM (9 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, pitchshift, sampler, timestretch, yinfft+
- Children:
- 0e59ae0
- Parents:
- 2e4ae1d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-filterbank.c
r2e4ae1d r5c1200a 60 60 sprintf(errstr, "error creating filterbank with n_filters=%d, win_s=%d", 61 61 self->n_filters, self->win_s); 62 PyErr_SetString (PyExc_ StandardError, errstr);62 PyErr_SetString (PyExc_RuntimeError, errstr); 63 63 return -1; 64 64 } … … 73 73 del_aubio_filterbank(self->o); 74 74 del_fvec(self->out); 75 self->ob_type->tp_free((PyObject *) self);75 Py_TYPE(self)->tp_free((PyObject *) self); 76 76 } 77 77
Note: See TracChangeset
for help on using the changeset viewer.