Flash in browsers does not play sound accurately using Pulse network audio

Posted by Dave M G on Ask Ubuntu See other posts from Ask Ubuntu or by Dave M G
Published on 2012-04-15T01:39:50Z Indexed on 2012/07/05 3:23 UTC
Read the original article Hit count: 440

Filed under:

I use PulseAudio to send sound over the LAN to an audio server.

When playing any Flash media in Firefox or Chrome, the sound flutters, as if the volume were going up and down every second. The problem does not exhibit with any other software, and I think it's specific to how Flash interacts with my sound set up.

How do I get Flash to play nice with the PulseAudio network sound server?


I have discovered that I can stop the sound fluttering if I follow these steps:

  • Start a Flash video

  • Run pulseaudio --kill on the server

  • Wait about 7 seconds

After this, the PulseAudio server automatically respawns, and the sound in the Flash video is perfect.

The problem now, though, is that I have to do this every time I start a Flash video. This is obviously not desireable. So, the question is, how do I make whatever it is that makes the sound work when I go through these steps stick so that I don't have to do them?

Also, I've uploaded some PulseAudio log output to Pastebin, taken while attempting to play a Flash video, if that helps.

I've tried to get logging details from Flash, but despite installing and enabling Flash for debugging, it has not generated any ouput at all.


I have uploaded an example video of the problem onto Youtube. In the video you can see the opening of a Ted Talk video, and the sound flutters as it plays. The video also stutters while playing back.

Here are my sound device output settings:

sound settings

© Ask Ubuntu or respective owner

Related posts about sound

Related posts about flash