Changeset 615ac7d for interfaces/python/aubiomodule.c
- Timestamp:
- Oct 19, 2009, 3:08:43 PM (15 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:
- ec1ce52
- Parents:
- 3f99693
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
interfaces/python/aubiomodule.c
r3f99693 r615ac7d 94 94 // compute the function 95 95 fvec_min_removal (vec->o); 96 96 97 // since this function does not return, we could return None 97 98 //return Py_None; … … 119 120 int err; 120 121 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 ) { 124 129 return; 125 130 } … … 144 149 Py_INCREF (&Py_filterType); 145 150 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); 146 157 }
Note: See TracChangeset
for help on using the changeset viewer.