Comment 1 for bug 939593

Revision history for this message
Riku Voipio (riku-voipio) wrote :

Copying over the comment from the previous bug#:

As tested with the 12.02 RC2 images, audio works from command line:

 aplay -Dhw:0,1 /usr/share/sounds/alsa/Side_Left.wav

but is heavily distorted in pulseaudio. For example try speaker tests in gnome sound settings.

Switching pulseaudio from timer based scheduling to interrupt based fixed the choppiness for me:

17:35 < suihkulokki> in /etc/pulse/default.pa:
17:35 < suihkulokki> -load-module module-udev-detect
17:35 < suihkulokki> +load-module module-udev-detect tsched=0

 it is apparently considered a bug in the alsa driver if pulseaudio cannot use timer scheduling, and we probably shouldn't change the default for all boards.

Explanation of timer based scheduling in pulseaudio at:

http://0pointer.de/blog/projects/pulse-glitch-free.html