Audio from Flash in Firefox does not go to correct sound device

Bug #144356 reported by Michael Rooney
This bug report is a duplicate of:  Bug #151849: Sound Broke in Ubuntu Gutsy firefox. Edit Remove
8
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
New
Undecided
Unassigned
libflashsupport (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: flashplugin-nonfree

On my laptop I use a USB sound card, and it is selected in the Sound manager as the device for all sound to go to. All applications correctly use it except for Flash (in Firefox) which goes out to my laptop speakers.

This is annoying because I have to listen to the sound through poor speakers instead of through my sound system, but the REAL killer is that if unexpected sound comes on, it takes forever to get muted (because all the keyboard shortcuts / sound icons manage the USB card, the default device), and there is just blaring sound until I can get to the right setting to mute the laptop audio. This can be a real show-stopper in a public place, or just when the audio is literally painfully loud and I can't effectively mute it.

This existed in Feisty and in fact I remember seeing bug reports about it but I can't find any for Gutsy or locate the old ones. Sorry in advance if this was filed improperly. Thanks for any help!

Revision history for this message
Jonathan Lange (jml) wrote :

This also happens in gutsy. I have a Macbook C2D and am using a USB headset.

Revision history for this message
muzycal_es (muzycal-es) wrote :

I have the same problem using my headphones Logitech /usb device. I can't hear any flash-player in firefox. I just updated the flash-player form the official web-site and I still have the same problem

greetings

Revision history for this message
Michael Rooney (mrooney) wrote :

Marking as confirmed as a result of feedback by two other users.

The real problem I think is firefox and not flashplugin-nonfree, as audio from videos played from within firefox exhibit the same issue. Firefox is not picking up on the selected audio device from within Ubuntu, perhaps?

Changed in flashplugin-nonfree:
status: New → Confirmed
Revision history for this message
cbinusa (cbinusa) wrote :

Problem is identical with opera too; neither flash works with my logitech usb but sound of otherwise, So, more likely flash or other?

Revision history for this message
Fernando (guayasamin) wrote :

The following solution worked for me (From http://ubuntuforums.org/showthread.php?t=543878)

"It comes down to getting alsa to use the right card.
Type "asoundconf list"

Then "asoundconf set-default-card INSERTCARDNAMEFROMLISTHERE"

Then alsa has a default card to look for and flash and youtube will work."

-Fernando

Revision history for this message
Michael Rooney (mrooney) wrote :

I wonder if PulseAudio in Hardy will take of this?

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

@Charles: Nope it doesn't

Install padevchooser and select manager from the applet menu.
You can see, when flash is using audio, that the channel is occupied on the onboard sound card.

Strange phenomenon: Microphone from the USB Headset works.
But sound not.
Setting default card via asoundconf or via gnome sound settings doesn't help.

Regards,

\sh

Revision history for this message
Stephan Rügamer (sruegamer) wrote :

Bumping it to medium, because it's an RC...
I wonder if it's a regression from using pulseaudio in hardy now.

Changed in flashplugin-nonfree:
importance: Undecided → Medium
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

ok,
after testing with Daniel T. Chen,

removing pkg libflashsupport helps to get some output on the headset again. But this means, flashplugin-nonfree is not using Pulseaudio.
The same thing happens when you killall -9 pulseaudio and setting the default soundcard to headset e.g.
Sound works.

With libflashsupport + pulseaudio -> no sound is coming over the headset even if its set as default.

Regards,
\sh

Revision history for this message
Daniel T Chen (crimsun) wrote :

It's not a regression; ALSA still works; flashplugin-nonfree still works. It's libflashsupport that's broken.

Changed in flashplugin-nonfree:
importance: Medium → Low
Revision history for this message
Michael Rooney (mrooney) wrote :

Hi Daniel. I was just wondering why importance was reduced to low. For the small amount of people this affects, it is a rather serious issue. In my case I had to keep Windows in a dual-boot setup to boot into in order to watch video or listen to music online.

Revision history for this message
Dara Adib (daradib) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 151849, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.