Ubuntu flash audio delay

Bug #734398 reported by John Doe on 2011-03-13
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: flashplugin-nonfree

Audio in certain flash applications is delayed by about a second. For example try this:
http://www.najle.com/idaft/idaft/
On Windows: no delay between interaction and audio playback.
On Ubuntu: one second delay untill sound is played --> no fun.

Googling for "Ubuntu flash audio delay" brings up a ton of forum threads with similar issues, but no solutions whatsoever, so I am making this a bug.

I tried fiddeling with the pulseaudio settings manually to maybe decrease audio buffer size or something, but the thing is too complicated and I couldn't figure it out.

Used firefox and latest flash from the repos with Ubuntu 10.10 current.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: flashplugin-nonfree (not installed)
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Mar 13 17:40:27 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: flashplugin-nonfree

Joe (wolfreak-99) wrote :

bump

Heiko Harders (heiko-harders) wrote :

I can confirm with Ubuntu 11.10 and Flash player 11 downloaded from Adobe's website. I don't know whether it is a problem with Adobe's plugin or whether the problem is on the Ubuntu side.

The problem can be observed very easily in this Flash game:
http://www.adamatomic.com/canabalt

Just wait until the character jumps through the glass (which happens after a couple of seconds of playing) and notice how the sound of the breaking glass is delayed by about 1 second. Makes that specific flash game unplayable.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flashplugin-nonfree (Ubuntu):
status: New → Confirmed
Agrv (agrv) wrote :

I just wanted to mention here a workaround found on a forum (sadly I do not remember which one) :

Create the file /usr/ocal/bin/firefox (sudo vi /usr/local/bin/firefox) and write in it :
#!/bin/bash
PULSE_LATENCY_MSEC=20 /usr/bin/firefox "$@"

Give execution rights to everyone on this file (sudo chmod a+x /usr/local/bin/firefox).

Agrv (agrv) wrote :

Sorry the file to create is /usr/local/bin/firefox

George Gill (ggilliii10) on 2013-02-22
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers