Changeset a380b73


Ignore:
Timestamp:
Nov 17, 2018, 2:17:02 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:
be8b18b
Parents:
69dbe0a
Message:

[py] filterbank.set_mel_coeffs_slaney accepts float

File:
1 edited

Legend:

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

    r69dbe0a ra380b73  
    157157  uint_t err = 0;
    158158
    159   uint_t samplerate;
    160   if (!PyArg_ParseTuple (args, "I", &samplerate)) {
     159  smpl_t samplerate;
     160  if (!PyArg_ParseTuple (args, AUBIO_NPY_SMPL_CHR, &samplerate)) {
    161161    return NULL;
    162162  }
Note: See TracChangeset for help on using the changeset viewer.