More verbose error report (xrun)

This commit is contained in:
Jaroslav Kysela 2003-04-19 08:38:50 +00:00
parent 5db7e98e6f
commit 812cb6cfd1

View 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);
}