Ticket #258 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

libflashsupport without sound device

Reported by: AdamK Owned by: lennart
Milestone: Component: libflashsupport
Keywords: Cc:

Description

I had a case of missing sound device (kernel module was not loaded). I had no sound devices configured at all.

When I tried to play flash video in Firefox, it just quit, with following message in logs:

*** PULSEAUDIO: Unable to create stream. firefox: pcm_pulse.c:115: pulse_stop: Assertion `pcm->stream' failed

Change History

Changed 4 years ago by coling

This is quite timely.... This problem is not restricted to libflashsupport, but rather quite a lot of apps, including artsd via alsa plugin and even paplay.

I'm actually working on a module that will auto-load the null sink when no other sinks are detected such that there always exists a sink. In theory, when the alsa module is loaded or a usb sound device it should be detected by hal and load the alsa sink accordingly, this should cause the auto-loaded null sink to be removed and module-resucue-streams should kick in and move any "playing" streams to the real device....

It's not fully debugged yet but I'm posting about it on the PA ML.

Changed 4 years ago by lennart

  • component changed from daemon to libflashsupport

Changed 3 years ago by lennart

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

Flash 10 doesn't require libflashsupport anymore, so closing this.

Also, the assert shown above is no longer used in the pa plugin for alsa.

Note: See TracTickets for help on using tickets.