]> git.alsa-project.org Git - alsa-utils.git/commitdiff
More verbose error report (xrun)
authorJaroslav Kysela <perex@perex.cz>
Sat, 19 Apr 2003 08:38:50 +0000 (08:38 +0000)
committerJaroslav Kysela <perex@perex.cz>
Sat, 19 Apr 2003 08:38:50 +0000 (08:38 +0000)
aplay/aplay.c

index d35574500c3a16370649889e448d18abc86356f0..aa59f45c7b9b3ddfa8f6805efb7841deea62d787 100644 (file)
@@ -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);
 }