Changeset 3e882a8


Ignore:
Timestamp:
Dec 25, 2009, 4:56:24 AM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
84e0606
Parents:
91ce8d5
Message:

py-filterbank.c: switch to proxy functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • interfaces/python/py-filterbank.c

    r91ce8d5 r3e882a8  
    5454{
    5555  PyObject *input;
    56   Py_cvec *vec;
     56  cvec_t *vec;
    5757  fvec_t *out;
    5858
     
    6161  }
    6262
    63   vec = PyAubio_ArrayToCvec (input);
     63  vec = PyAubio_ArrayToCCvec (input);
    6464
    6565  if (vec == NULL) {
     
    7070
    7171  // compute the function
    72   aubio_filterbank_do (self->o, vec->o, out);
     72  aubio_filterbank_do (self->o, vec, out);
    7373  return (PyObject *)PyAubio_CFvecToArray(out);
    7474}
Note: See TracChangeset for help on using the changeset viewer.