From: Paul Brossier Date: Fri, 25 Dec 2009 03:56:24 +0000 (+0100) Subject: py-filterbank.c: switch to proxy functions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3e882a8e7e4ee36e05aafe96090a5599658ec19a;p=aubio.git py-filterbank.c: switch to proxy functions --- diff --git a/interfaces/python/py-filterbank.c b/interfaces/python/py-filterbank.c index a34e2f2b..dcb2d18a 100644 --- a/interfaces/python/py-filterbank.c +++ b/interfaces/python/py-filterbank.c @@ -53,14 +53,14 @@ static PyObject * Py_filterbank_do(Py_filterbank * self, PyObject * args) { PyObject *input; - Py_cvec *vec; + cvec_t *vec; fvec_t *out; if (!PyArg_ParseTuple (args, "O", &input)) { return NULL; } - vec = PyAubio_ArrayToCvec (input); + vec = PyAubio_ArrayToCCvec (input); if (vec == NULL) { return NULL; @@ -69,7 +69,7 @@ Py_filterbank_do(Py_filterbank * self, PyObject * args) out = new_fvec (self->n_filters); // compute the function - aubio_filterbank_do (self->o, vec->o, out); + aubio_filterbank_do (self->o, vec, out); return (PyObject *)PyAubio_CFvecToArray(out); }