projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf19b8a
)
src/io/sink_sndfile.c: improve error message
author
Paul Brossier
<piem@piem.org>
Tue, 29 Nov 2016 11:08:42 +0000
(12:08 +0100)
committer
Paul Brossier
<piem@piem.org>
Tue, 29 Nov 2016 11:08:42 +0000
(12:08 +0100)
src/io/sink_sndfile.c
patch
|
blob
|
history
diff --git
a/src/io/sink_sndfile.c
b/src/io/sink_sndfile.c
index
033c79f
..
4256a49
100644
(file)
--- 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 */
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;
}
return AUBIO_FAIL;
}