Changeset bb96d02 for src/io


Ignore:
Timestamp:
Nov 29, 2016, 12:08:42 PM (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, sampler, yinfft+
Children:
31c306a
Parents:
cf19b8a
Message:

src/io/sink_sndfile.c: improve error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/sink_sndfile.c

    rcf19b8a rbb96d02  
    142142  if (s->handle == NULL) {
    143143    /* show libsndfile err msg */
    144     AUBIO_ERR("sink_sndfile: Failed opening %s. %s\n", s->path, sf_strerror (NULL));
     144    AUBIO_ERR("sink_sndfile: Failed opening \"%s\" with %d channels, %dHz: %s\n",
     145        s->path, s->channels, s->samplerate, sf_strerror (NULL));
    145146    return AUBIO_FAIL;
    146147  }
Note: See TracChangeset for help on using the changeset viewer.