From 812cb6cfd18a477fc855b412b34e6aae39fc5f53 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sat, 19 Apr 2003 08:38:50 +0000 Subject: [PATCH] More verbose error report (xrun) --- aplay/aplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index d355745..aa59f45 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -944,7 +944,7 @@ static void xrun(void) } return; /* ok, data should be accepted again */ } - error("read/write error"); + error("read/write error, state = %s", snd_pcm_state_name(snd_pcm_status_get_state(status))); exit(EXIT_FAILURE); } -- 2.47.1