Changeset 7b56229 for python/ext/py-source.c
- Timestamp:
- Jan 24, 2014, 2:22:28 AM (10 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:
- 16dda03
- Parents:
- f1100a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-source.c
rf1100a4 r7b56229 1 // WARNING: this file is generated, DO NOT EDIT2 3 // WARNING: if you haven't read the first line yet, please do so4 1 #include "aubiowraphell.h" 5 2 … … 127 124 } 128 125 126 static PyObject * 127 Pyaubio_source_close (Py_source *self, PyObject *unused) 128 { 129 del_aubio_source (self->o); 130 self->o = NULL; 131 Py_RETURN_NONE; 132 } 133 129 134 static PyMethodDef Py_source_methods[] = { 130 135 {"get_samplerate", (PyCFunction) Pyaubio_source_get_samplerate, … … 132 137 {"get_channels", (PyCFunction) Pyaubio_source_get_channels, 133 138 METH_NOARGS, ""}, 139 {"close", (PyCFunction) Pyaubio_source_close, 140 METH_NOARGS, ""}, 134 141 {NULL} /* sentinel */ 135 142 };
Note: See TracChangeset
for help on using the changeset viewer.