alsa_write: Handle EPIPE errors properly.
authorAndre Noll <maan@systemlinux.org>
Thu, 5 Mar 2009 21:05:22 +0000 (22:05 +0100)
committerAndre Noll <maan@systemlinux.org>
Thu, 5 Mar 2009 21:05:22 +0000 (22:05 +0100)
commit596d1d97f90854bd941db02f1353df8e1196ccc0
treec4a45126a72933312c4fb59d000d9dcbfc4fa7d4
parent132ab6b63568104d28af23a9682c770a0aaedf03
alsa_write: Handle EPIPE errors properly.

There's no need to throw away the data if a buffer underrun occurs.
Just try to write the same data again after the snd_pcm_prepare().
alsa_write.c