2010-07-29 09:11, Raymond Yau skrev:
2010/7/10 David Henningsson launchpad.web@epost.diwic.se
The biggest drawback by this change is that whether the sound goes well or not isn't reported any more to the application layer. It's an unfortunate design, but it's life with PA.
The question is - is there an application that detects the underrun condition and actually acts on that condition? If so, this could be a regression for that app. For other apps it's an improvement, for the reasons originally stated.
This patch by Lennart Poettering should answer your question
http://git.alsa-project.org/?p=alsa-plugins.git;a=commit;h=660e0f16145167a96...
Okay, so we've broken XMMS, at least the 2007 version of it?
The better solution to this problem would be to add a write_pointer to the xrun callback (and PA's native protocol), so we can detect whether the underrun is obsolete or not and act accordingly.