Ignore:
Timestamp:
Dec 10, 2013, 10:13:49 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
2f9af5d
Parents:
d7019c4
Message:

python/ext/py-source.c: not generated, modified init to get samplerate from aubio_source_t

Signed-off-by: Paul Brossier <piem@piem.org>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubiomodule.c

    rd7019c4 rd27634d  
    199199      || (PyType_Ready (&Py_fftType) < 0)
    200200      || (PyType_Ready (&Py_pvocType) < 0)
     201      || (PyType_Ready (&Py_sourceType) < 0)
    201202      // generated objects
    202203      || (generated_types_ready() < 0 )
     
    227228  Py_INCREF (&Py_pvocType);
    228229  PyModule_AddObject (m, "pvoc", (PyObject *) & Py_pvocType);
     230  Py_INCREF (&Py_sourceType);
     231  PyModule_AddObject (m, "source", (PyObject *) & Py_sourceType);
    229232
    230233  // add generated objects
Note: See TracChangeset for help on using the changeset viewer.