From: Jaroslav Kysela Date: Sat, 19 Apr 2003 08:38:50 +0000 (+0000) Subject: More verbose error report (xrun) X-Git-Tag: v1.0.3~71 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=812cb6cfd18a477fc855b412b34e6aae39fc5f53;p=alsa-utils.git More verbose error report (xrun) --- 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); }