Changeset a6222fc
- Timestamp:
- Feb 27, 2017, 1:24:46 AM (8 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, sampler
- Children:
- 2882b3f
- Parents:
- 23f1c49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-source.c
r23f1c49 ra6222fc 290 290 291 291 static PyObject* Pyaubio_source_iter_next(Py_source *self) { 292 PyObject *done ;292 PyObject *done, *size; 293 293 if (self->channels == 1) { 294 294 done = Py_source_do(self, NULL); … … 301 301 return NULL; 302 302 } 303 PyObject *size = PyTuple_GetItem(done, 1);303 size = PyTuple_GetItem(done, 1); 304 304 if (size != NULL && PyLong_Check(size)) { 305 305 if (PyLong_AsLong(size) == (long)self->hop_size) {
Note: See TracChangeset
for help on using the changeset viewer.