Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -117,7 +117,9 @@ Py_bintomidi (PyObject * self, PyObject * args) · 116 unmodified lines | ||
| 117 | 117 | smpl_t input, samplerate, fftsize; |
| 118 | 118 | smpl_t output; |
| 119 | 119 | |
| 120 | − if (!PyArg_ParseTuple (args, "|" AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR , &input, &samplerate, &fftsize)) { | |
| 120 | + if (!PyArg_ParseTuple (args, | |
| 121 | + "" AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR, | |
| 122 | + &input, &samplerate, &fftsize)) { | |
| 121 | 123 | return NULL; |
| 122 | 124 | } |
| 123 | 125 | |
| @@ -132,7 +134,9 @@ Py_miditobin (PyObject * self, PyObject * args) · 8 unmodified lines | ||
| 132 | 134 | smpl_t input, samplerate, fftsize; |
| 133 | 135 | smpl_t output; |
| 134 | 136 | |
| 135 | − if (!PyArg_ParseTuple (args, "|" AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR , &input, &samplerate, &fftsize)) { | |
| 137 | + if (!PyArg_ParseTuple (args, | |
| 138 | + "" AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR, | |
| 139 | + &input, &samplerate, &fftsize)) { | |
| 136 | 140 | return NULL; |
| 137 | 141 | } |
| 138 | 142 | |
| @@ -147,7 +151,9 @@ Py_bintofreq (PyObject * self, PyObject * args) · 8 unmodified lines | ||
| 147 | 151 | smpl_t input, samplerate, fftsize; |
| 148 | 152 | smpl_t output; |
| 149 | 153 | |
| 150 | − if (!PyArg_ParseTuple (args, "|" AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR, &input, &samplerate, &fftsize)) { | |
| 154 | + if (!PyArg_ParseTuple (args, | |
| 155 | + "" AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR, | |
| 156 | + &input, &samplerate, &fftsize)) { | |
| 151 | 157 | return NULL; |
| 152 | 158 | } |
| 153 | 159 | |
| @@ -162,7 +168,9 @@ Py_freqtobin (PyObject * self, PyObject * args) · 8 unmodified lines | ||
| 162 | 168 | smpl_t input, samplerate, fftsize; |
| 163 | 169 | smpl_t output; |
| 164 | 170 | |
| 165 | − if (!PyArg_ParseTuple (args, "|" AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR, &input, &samplerate, &fftsize)) { | |
| 171 | + if (!PyArg_ParseTuple (args, | |
| 172 | + "" AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR AUBIO_NPY_SMPL_CHR, | |
| 173 | + &input, &samplerate, &fftsize)) { | |
| 166 | 174 | return NULL; |
| 167 | 175 | } |
| 168 | 176 | |