From 3e882a8e7e4ee36e05aafe96090a5599658ec19a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 25 Dec 2009 04:56:24 +0100 Subject: [PATCH] py-filterbank.c: switch to proxy functions --- interfaces/python/py-filterbank.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.26.2