Ignore:
Timestamp:
Oct 19, 2009, 3:08:43 PM (15 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:
ec1ce52
Parents:
3f99693
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • interfaces/python/aubiomodule.c

    r3f99693 r615ac7d  
    9494  // compute the function
    9595  fvec_min_removal (vec->o);
     96
    9697  // since this function does not return, we could return None
    9798  //return Py_None;
     
    119120  int err;
    120121
    121   if ((PyType_Ready (&Py_fvecType) < 0) ||
    122       (PyType_Ready (&Py_cvecType) < 0) ||
    123       (PyType_Ready (&Py_filterType) < 0)) {
     122  if ((PyType_Ready (&Py_fvecType) < 0)
     123      || (PyType_Ready (&Py_cvecType) < 0)
     124      || (PyType_Ready (&Py_filterType) < 0)
     125      || (PyType_Ready (&Py_filterbankType) < 0)
     126      || (PyType_Ready (&Py_fftType) < 0)
     127      || (PyType_Ready (&Py_pvocType) < 0)
     128  ) {
    124129    return;
    125130  }
     
    144149  Py_INCREF (&Py_filterType);
    145150  PyModule_AddObject (m, "digital_filter", (PyObject *) & Py_filterType);
     151  Py_INCREF (&Py_filterbankType);
     152  PyModule_AddObject (m, "filterbank", (PyObject *) & Py_filterbankType);
     153  Py_INCREF (&Py_fftType);
     154  PyModule_AddObject (m, "fft", (PyObject *) & Py_fftType);
     155  Py_INCREF (&Py_pvocType);
     156  PyModule_AddObject (m, "pvoc", (PyObject *) & Py_pvocType);
    146157}
Note: See TracChangeset for help on using the changeset viewer.