July 7, 2010 · General · Email This Post

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

Sponsored Link

Related posts

3 Comments to “Fix for ALSA API Apps in Ubuntu”

  1. Bart says:

    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

    [Reply]

  2. Jani Mikkonen says:

    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.

    [Reply]

  3. Laura Conrad says:

    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

    [Reply]

Leave a Reply