X-Git-Url: https://git.aubio.org/?p=aubio.git;a=blobdiff_plain;f=src%2Fio%2Fsink_sndfile.c;h=4256a49e68f31f460b66730b06f91302c2c17f5c;hp=033c79f3f9f07460ffa59b7b16bfddbb6f1cad77;hb=bb96d027c3fb498e247b7a9cbb7393980f462eef;hpb=cf19b8a8231deec641741007210ce57cd96332b5 diff --git a/src/io/sink_sndfile.c b/src/io/sink_sndfile.c index 033c79f3..4256a49e 100644 --- a/src/io/sink_sndfile.c +++ b/src/io/sink_sndfile.c @@ -141,7 +141,8 @@ uint_t aubio_sink_sndfile_open(aubio_sink_sndfile_t *s) { if (s->handle == NULL) { /* show libsndfile err msg */ - AUBIO_ERR("sink_sndfile: Failed opening %s. %s\n", s->path, sf_strerror (NULL)); + AUBIO_ERR("sink_sndfile: Failed opening \"%s\" with %d channels, %dHz: %s\n", + s->path, s->channels, s->samplerate, sf_strerror (NULL)); return AUBIO_FAIL; }