Fix for ALSA API Apps in Ubuntu
A lot of people seem to be experiencing issues with ALSA apps (like Flash) on PulseAudio-enabled systems. Common issues include programs locking/"hogging" the ALSA sound device (prevents other apps from mixing and using the audio device) and also apps trying to use the ALSA software mixer (dmix).
Here is a method to route ALSA apps directly through pulse:
gksu gedit /etc/asound.conf
Copy/paste these lines into the resulting file:
pcm.pulse { type pulse }
ctl.pulse { type pulse }
pcm.!default { type pulse }
ctl.!default { type pulse }
Save and exit the file.Finally Reboot your system.
Source from here
Or fix it for the user:
set up a .asoundrc file in your homedirectory:
pcm.!default { type pulse }
ctl.!default { type pulse }
pcm.pulse { type pulse }
ctl.pulse { type pulse }
Cheers, Bart
Excellent & Thanks!
I’ve noticed few days ago that myspace player was not really working anymore – it started to play and went mute after few seconds. And this fixed it for me.
I think you don’t have to reboot, if you just restart pulseaudio and reload the alsa modules:
/etc/init.d/pulseaudio restart
alsa force-reload