Ticket #43 (closed defect: invalid)

Opened 5 years ago

Last modified 4 years ago

Alsa problems with Flash beta 9 and PulseAudio

Reported by: mariodebian Owned by: lennart
Milestone: Component: clients
Keywords: Cc: mariodebian@…

Description

With new Flash beta 9 plugin (that works with alsa) PulseAudio receive many connections and drop them:

First, this line is printed in server logs (when pulseaudio is running) many times:

sink-input.c: Failed to create sink input: too many inputs per sink.

Then this:

protocol-native.c: Warning! Too many connections (64), dropping incoming connection.

Launching firefox from shell show this:

(many times)
*** PULSEAUDIO: Unable to connect: Connection terminated

(many times)
ALSA lib pcm_hw.c:1357:(_snd_pcm_hw_open) Invalid value for card
*** PULSEAUDIO: Unable to connect: Connection terminated

aplay works ok, as espected.

Is this a Flash~alsa problem or is Pulseaudio problem? Any trick to force flash to use esd or any other method?

Change History

Changed 5 years ago by ossman

  • status changed from new to closed
  • resolution set to invalid

Flas-problem. It leaks alsa handles like crazy. I've reported it to them, but no response.

Changed 4 years ago by helge

  • component changed from module-alsa-* to clients

Hi,

I just switched to a mix of OpenBox, XFCE4, Gnome and PulseAudio, running on Ubuntu. I've been very satisfied with PulseAudio so far, except for this nasty bug in Flash (which is pretty serious! Come on Adobe-guys...).

Finally I figured out how to compile an ESD/PulseAudio module and install it. Unlike the pre-compiled Debian package from http://pulseaudio.vdbonline.net/libflashsupport/, this manually compiled version works like a charm (while the other crashed Firefox with no errormsgs).

The module source, libflashsupport.so, can be downloaded from here: https://svn.revolutionlinux.com/MILLE/XTERM/trunk/libflashsupport/src/

I'll add some Ubuntu-/Debian-aimed building instructions on the Wiki right away.

Note: See TracTickets for help on using tickets.