2011/4/21 David Henningsson david.henningsson@canonical.com
Due to a round-off error, snd_pcm_avail could in some cases return 0 even though more data could be written to the stream.
This was discovered by Maarten Lankhorst [1], and there is also a test program available that triggers this error [2].
[1] https://tango.0pointer.de/pipermail/pulseaudio-discuss/2011-April/009935.htm...
[2] https://tango.0pointer.de/pipermail/pulseaudio-discuss/attachments/20110420/...
-- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic
if the test program can force under-run occur with "hw" device and "pulse" device with his patch in https://tango.0pointer.de/pipermail/pulseaudio-discuss/2011-April/009918.htm...
Is it normal that underrun does not occur with the test program and your patch