History

python/ext/py-{source,sink}.c: use _close in .close()

Paul Brossier committed 12 years ago

Commit 3cc3fd81 parent 422452b2 files · +2 −4Browse files

Showing the changes to python (2 of 2 files). Show all

Unified · Split

2 files
  1. python/ext/py-sink.c +1 −2
  2. python/ext/py-source.c +1 −2
python/ext/py-sink.c+1−2
@@ -92,8 +92,7 @@ AUBIO_MEMBERS_STOP(sink) · 91 unmodified lines
92static PyObject *92static PyObject *
93Pyaubio_sink_close (Py_sink *self, PyObject *unused)93Pyaubio_sink_close (Py_sink *self, PyObject *unused)
94{94{
95 del_aubio_sink (self->o);95 aubio_sink_close (self->o);
96 self->o = NULL;
97 Py_RETURN_NONE;96 Py_RETURN_NONE;
98}97}
99 98
python/ext/py-source.c+1−2
@@ -126,8 +126,7 @@ Pyaubio_source_get_channels (Py_source *self, PyObject *unused) · 125 unmodified lines
126static PyObject *126static PyObject *
127Pyaubio_source_close (Py_source *self, PyObject *unused)127Pyaubio_source_close (Py_source *self, PyObject *unused)
128{128{
129 del_aubio_source (self->o);129 aubio_source_close (self->o);
130 self->o = NULL;
131 Py_RETURN_NONE;130 Py_RETURN_NONE;
132}131}
133 132

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t