Changeset 3528079


Ignore:
Timestamp:
Sep 23, 2016, 3:23:47 AM (8 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:
bd8a92d
Parents:
dab4a4c
Message:

python/ext/py-phasevoc.c: use error string set in src/spectral/phasevoc.c

File:
1 edited

Legend:

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

    rdab4a4c r3528079  
    6767  self->o = new_aubio_pvoc ( self->win_s, self->hop_s);
    6868  if (self->o == NULL) {
    69     PyErr_Format(PyExc_RuntimeError,
    70         "failed creating pvoc with win_s=%d, hop_s=%d",
    71         self->win_s, self->hop_s);
     69    // PyErr_Format(PyExc_RuntimeError, ...) was set above by new_ which called
     70    // AUBIO_ERR when failing
    7271    return -1;
    7372  }
Note: See TracChangeset for help on using the changeset viewer.