Ignore:
Timestamp:
Nov 20, 2018, 10:33:58 PM (6 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
Children:
35f7e059
Parents:
7ed058c
Message:

[py] filterbank.set_triangle_bands can accept a float samplerate

File:
1 edited

Legend:

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

    r7ed058c r35ce4ab  
    123123
    124124  PyObject *input;
    125   uint_t samplerate;
    126   if (!PyArg_ParseTuple (args, "OI", &input, &samplerate)) {
     125  smpl_t samplerate;
     126  if (!PyArg_ParseTuple (args, "Of", &input, &samplerate)) {
    127127    return NULL;
    128128  }
Note: See TracChangeset for help on using the changeset viewer.