[alsa-devel] [PATCH] Two patches for Alsa-plugins (pulse)

David Henningsson david.henningsson at canonical.com
Thu Jul 29 10:14:22 CEST 2010

2010-07-29 09:11, Raymond Yau skrev:
> 2010/7/10 David Henningsson <launchpad.web at 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=660e0f16145167a966e9b8387e9a8e08274a8f7c

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.

David Henningsson, Canonical Ltd.

More information about the Alsa-devel mailing list