Changeset 3cc3fd8 for python/ext


Ignore:
Timestamp:
Jan 26, 2014, 8:20:37 PM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
c038740
Parents:
422452b
Message:

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

Location:
python/ext
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/ext/py-sink.c

    r422452b r3cc3fd8  
    9393Pyaubio_sink_close (Py_sink *self, PyObject *unused)
    9494{
    95   del_aubio_sink (self->o);
    96   self->o = NULL;
     95  aubio_sink_close (self->o);
    9796  Py_RETURN_NONE;
    9897}
  • python/ext/py-source.c

    r422452b r3cc3fd8  
    127127Pyaubio_source_close (Py_source *self, PyObject *unused)
    128128{
    129   del_aubio_source (self->o);
    130   self->o = NULL;
     129  aubio_source_close (self->o);
    131130  Py_RETURN_NONE;
    132131}
Note: See TracChangeset for help on using the changeset viewer.