ubuntu-audio-dev team mailing list archive
-
ubuntu-audio-dev team
-
Mailing list archive
-
Message #00010
Ignore underruns in alsa-plugins
Anybody with the privileges to merge
https://code.launchpad.net/~diwic/alsa-plugins/ubuntu.new/+merge/18303 who
would like to do so?
Summary:
Do not report underruns to the ALSA layer.
Reporting underruns to ALSA seems to do more bad than good, for these
reasons:
* If pulseaudio gets an underrun, the normal way to end that underrun is to
feed it with more buffers. This is different from the ALSA way of dealing
with underruns, which requires hardware buffer pointers to be reset.
* In addition, underrun signals are delivered asynchronously from
pulseaudio.
This means that there might be more buffers on the way to pulseaudio when
the underrun is reported, making the underrun obsolete. Unfortunately,
there is currently no known way to determine whether this is the case or
not.
No response on the PA mailing list:
https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006471.html
Follow ups