Comment 109 for bug 198453

Conn O Griofa (psyke83) wrote :

Luke, Alexander, Daniel & others,

If you test the packages in my PPA, you'll see that I backported alsa-lib, alsa-plugins alsa-utils, pulseaudio from Intrepid, and added a new flashplugin-nonfree deb based on the latest v10 RC. See here: https://launchpad.net/~psyke83/+archive

The alsa-lib and alsa-plugins packages have been backported for the reasons discussed early in this report (it seems the Hardy version of the PulseAudio ALSA plugins have problems with several applications, including Skype).

The alsa-utils package has been modified so the the "pcm.pulse" and "ctl.pulse" descriptors are added to the asoundconf {set|unset}-pulseaudio command - this allows Skype (and possibly other buggy applications) to select the "pulse" device.

The pulseaudio package is a simple backport from Intrepid, except that I added some fragment tweaks - this solves skipping I noticed in Skype, VLC and several other applications. I also added the resample-method to "speex-float-1" to reduce CPU usage (Mandriva have applied this setting in PulseAudio too). It may not help everyone, but most users have noticed the same improvements after testing these tweaks on the forums. See bug #190754.

Finally, flashplugin-nonfree has been updated to v10 RC with an added tweak to workaround a Firefox (not related to PulseAudio, though!). See bug #239182 and: http://blogs.adobe.com/penguin.swf/2008/08/windowless_mode_fix.html

The remaining piece of the puzzle is to issue "asoundconf set-pulseaudio" (if we choose to really fix this bug, ideally this command should be a user login script installed from the pulseaudio or ubuntu-desktop packages).

With my packages installed, Kubuntu and Xubuntu aren't affected. If you install Skype (ALSA version), all you need to do is set the Sound Out and Ringing devices to "pulse" via the Options in Skype, and (at least on my system) it won't stutter.

I am more than willing to help fix this bug (and post clean debdiffs), but the packages in my PPA can help get us started, at least as a proof of concept that PulseAudio *can* work for most users. There are loose-ends, of course; alsa-driver (and thus kernel modules) may need to be backported (but in practice everything is working flawlessly on my Hardy system here), and we already know some application are still incompatible with PulseAudio (Audacity, JACK, possibly still WINE).