History

Merge branch 'feature/wrap_py_mod'

Paul Brossier committed 8 years ago

Commit 7e5b1bc2 parents 8716f63 72d08ae1 file · +12 −4Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/ext/aubiomodule.c+12−4
@@ -117,7 +117,9 @@ Py_bintomidi (PyObject * self, PyObject * args) · 116 unmodified lines
117117 smpl_t input, samplerate, fftsize;
118118 smpl_t output;
119119
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)) {
121123 return NULL;
122124 }
123125
@@ -132,7 +134,9 @@ Py_miditobin (PyObject * self, PyObject * args) · 8 unmodified lines
132134 smpl_t input, samplerate, fftsize;
133135 smpl_t output;
134136
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)) {
136140 return NULL;
137141 }
138142
@@ -147,7 +151,9 @@ Py_bintofreq (PyObject * self, PyObject * args) · 8 unmodified lines
147151 smpl_t input, samplerate, fftsize;
148152 smpl_t output;
149153
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)) {
151157 return NULL;
152158 }
153159
@@ -162,7 +168,9 @@ Py_freqtobin (PyObject * self, PyObject * args) · 8 unmodified lines
162168 smpl_t input, samplerate, fftsize;
163169 smpl_t output;
164170
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)) {
166174 return NULL;
167175 }
168176

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t