Changeset 5652a8c for python/ext/py-fft.c
- Timestamp:
- Apr 19, 2016, 2:16:39 AM (9 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:
- 26eb6d0
- Parents:
- f50dea4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/ext/py-fft.c
rf50dea4 r5652a8c 1 #include "aubio wraphell.h"1 #include "aubio-types.h" 2 2 3 3 static char Py_fft_doc[] = "fft object"; … … 12 12 } Py_fft; 13 13 14 //AUBIO_NEW(fft)15 14 static PyObject * 16 15 Py_fft_new (PyTypeObject * type, PyObject * args, PyObject * kwds) … … 90 89 } 91 90 92 AUBIO_MEMBERS_START(fft) 91 static PyMemberDef Py_fft_members[] = { 93 92 {"win_s", T_INT, offsetof (Py_fft, win_s), READONLY, 94 93 "size of the window"}, 95 AUBIO_MEMBERS_STOP(fft) 94 {NULL} 95 }; 96 96 97 97 static PyObject * … … 122 122 }; 123 123 124 AUBIO_TYPEOBJECT(fft, "aubio.fft") 124 PyTypeObject Py_fftType = { 125 PyVarObject_HEAD_INIT (NULL, 0) 126 "aubio.fft", 127 sizeof (Py_fft), 128 0, 129 (destructor) Py_fft_del, 130 0, 131 0, 132 0, 133 0, 134 0, 135 0, 136 0, 137 0, 138 0, 139 (ternaryfunc)Py_fft_do, 140 0, 141 0, 142 0, 143 0, 144 Py_TPFLAGS_DEFAULT, 145 Py_fft_doc, 146 0, 147 0, 148 0, 149 0, 150 0, 151 0, 152 Py_fft_methods, 153 Py_fft_members, 154 0, 155 0, 156 0, 157 0, 158 0, 159 0, 160 (initproc) Py_fft_init, 161 0, 162 Py_fft_new, 163 };
Note: See TracChangeset
for help on using the changeset viewer.