- Timestamp:
- Jan 24, 2014, 2:22:28 AM (11 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
- Location:
- python/ext
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-sink.c
rf1100a4 r7b56229 90 90 AUBIO_MEMBERS_STOP(sink) 91 91 92 static PyObject * 93 Pyaubio_sink_close (Py_sink *self, PyObject *unused) 94 { 95 del_aubio_sink (self->o); 96 self->o = NULL; 97 Py_RETURN_NONE; 98 } 92 99 93 100 static PyMethodDef Py_sink_methods[] = { 101 {"close", (PyCFunction) Pyaubio_sink_close, 102 METH_NOARGS, ""}, 94 103 {NULL} /* sentinel */ 95 104 }; -
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.