ref: 5ab8e59164cf33431a2a7275323a1d7c1bd4a26a
parent: 98a38878b102b20a08c16c1efde89896e2d9e0d2
author: Paul Brossier <[email protected]>
date: Fri Jan 24 08:12:08 EST 2014
src/io/source{,_wavread}.c: improve error message
--- a/src/io/source.c
+++ b/src/io/source.c
@@ -103,7 +103,8 @@
return s;
}
#endif /* HAVE_WAVREAD */
- AUBIO_ERROR("failed creating aubio source with %s\n", uri);
+ AUBIO_ERROR("source: failed creating aubio source with %s"
+ " at samplerate %d with hop_size %d\n", uri, samplerate, hop_size);
AUBIO_FREE(s);
return NULL;
}
--- a/src/io/source_wavread.c
+++ b/src/io/source_wavread.c
@@ -224,8 +224,8 @@
return s;
beach:
- AUBIO_ERR("source_wavread: can not read %s at samplerate %dHz with a hop_size of %d\n",
- s->path, s->samplerate, s->hop_size);
+ //AUBIO_ERR("source_wavread: can not read %s at samplerate %dHz with a hop_size of %d\n",
+ // s->path, s->samplerate, s->hop_size);
del_aubio_source_wavread(s);
return NULL;
}