From 24115914342fc640f6a9d1f8ee1b6d59c8e9a253 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Sun, 2 Aug 2015 14:30:56 +0200 Subject: audio: print module/device-name if ausrc_alloc fails --- src/audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3