Changeset 51284ab


Ignore:
Timestamp:
Nov 21, 2018, 12:22:39 AM (13 months ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
Children:
3636600
Parents:
15c3466
Message:

[py] fix filterbank in double-precision mode

File:
1 edited

Legend:

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

    r15c3466 r51284ab  
    124124  PyObject *input;
    125125  smpl_t samplerate;
    126   if (!PyArg_ParseTuple (args, "Of", &input, &samplerate)) {
     126  if (!PyArg_ParseTuple (args, "O" AUBIO_NPY_SMPL_CHR, &input, &samplerate)) {
    127127    return NULL;
    128128  }
     
    271271  smpl_t power;
    272272
    273   if (!PyArg_ParseTuple (args, "f", &power)) {
     273  if (!PyArg_ParseTuple (args, AUBIO_NPY_SMPL_CHR, &power)) {
    274274    return NULL;
    275275  }
     
    294294  smpl_t norm;
    295295
    296   if (!PyArg_ParseTuple (args, "f", &norm)) {
     296  if (!PyArg_ParseTuple (args, AUBIO_NPY_SMPL_CHR, &norm)) {
    297297    return NULL;
    298298  }
Note: See TracChangeset for help on using the changeset viewer.