summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-08-02 14:30:56 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-08-02 14:30:56 +0200
commit24115914342fc640f6a9d1f8ee1b6d59c8e9a253 (patch)
tree25efc77894637f83fe00f6d89768de2956a6bb78
parent80ea8fcbc51e905a3b954e3c925dd7e894ec6f04 (diff)
audio: print module/device-name if ausrc_alloc fails
-rw-r--r--src/audio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio.c b/src/audio.c
index 954dd72..d1b19fd 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -1030,7 +1030,8 @@ static int start_source(struct autx *tx, struct audio *a)
&prm, tx->device,
ausrc_read_handler, ausrc_error_handler, a);
if (err) {
- warning("audio: start_source failed: %m\n", err);
+ warning("audio: start_source failed (%s.%s): %m\n",
+ a->cfg.src_mod, tx->device, err);
return err;
}