I recently updated my Ubuntu from 11.10 to 12.04 lts and there seems to be a problem while I'm playing YouTube videos they, for no reason, start to fastforward (audio and video). This does not happen with other programs or websites only in YouTube videos. It does not matter if they are in flash or in HTML 5 player this problem persists throughout
In my case I solved it this way; First install "PulseAudio Volume Control" if it is not installed yet;
sudo apt-get install pavucontrol
Now start "PulseAudio Volume Control" and go to the Configuration tab. Under "High definition Audio Controller" I had "Digital stereo (HDMI) Output" selected. I had to change that to "Off". I also had to change the build in audio profile from digital to analogue, otherwise I didn't hear anything.
edit: after the change above, it still happens sometimes. But I can use
pulseaudio -k to restart pulseaudio. (
-k will kill it, but it will restart automatically).
pulseaudio -k works temporarily, try this guide to replace pulseaudio with the alsa audio component. It's worked fine for me ever since. (Ubuntu 12.04)
In my case, I once wanted to listen to my computer through my wireless headset, so I changed the output in Settings>Sound to the USB Wireless Headset. But when it was unpluged it must have switched to the HDMI out sound instead of the normal speakers, when I switched back to the speakers the problem went away. Also in Settings>Sound>Applications, it says that YouTube is playing from ALSA Plugin, according to there website it is a audio extension type of thing. I don't know if ALSA has anything to do with it or if it is all on YouTubes side but whatever. Hope this helped.
Also I am using the web browser Chromium