Changeset bd8a92d


Ignore:
Timestamp:
Sep 23, 2016, 3:24:07 AM (7 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:
ad65346, d8faaf2
Parents:
3528079
Message:

python/ext/py-source.c: use error string set in src/io/source.c

File:
1 edited

Legend:

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

    r3528079 rbd8a92d  
    141141  self->o = new_aubio_source ( self->uri, self->samplerate, self->hop_size );
    142142  if (self->o == NULL) {
    143     PyErr_Format (PyExc_RuntimeError, "error creating source with \"%s\"",
    144         self->uri);
     143    // PyErr_Format(PyExc_RuntimeError, ...) was set above by new_ which called
     144    // AUBIO_ERR when failing
    145145    return -1;
    146146  }
Note: See TracChangeset for help on using the changeset viewer.