Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
flash + sound
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Genetic
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2006
Posts: 111

PostPosted: Wed Jul 07, 2010 1:06 pm    Post subject: flash + sound Reply with quote

Hi,

the problem seems quite common: Flash has no sound here (it did a couple of days ago, but who knows...), while everything else has. I read a lot of posts for that but none of the various solutions (e.g. reinstalling nspluginwrapper, installing alsa-plugins[pulseaudio], installing libflashsupport, ...) helped, so I hope you can give me a hint :)

Here's the scenario:
- ~amd64
- adobe-flash 10.1.53.64
- nspluginwrapper 1.3.0
- firefox 3.6.6
- chromium 5.0.375.99
- pulseaudio 0.9.21.2-r1

The problem occurs in both firefox and chromium: Flash works fine, but has no sound. So it probably is flash's and not the browsers' fault.

Code:
igel@Garten ~ % chromium
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave
...


I also tried blacklisting modules of unused sound devices (I have an onboard chipset that I don't use), but it didn't help.

Thanks in advance
Genetic
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Jul 07, 2010 9:55 pm    Post subject: Re: flash + sound Reply with quote

Genetic wrote:
ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave

See my config - improved dmix - try it.
Back to top
View user's profile Send private message
schwarzygesetzlos
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 185
Location: Funeralopolis

PostPosted: Sun Jul 11, 2010 2:13 pm    Post subject: flash & pulseaudio & sound WORKING! Reply with quote

for me, following solution worked:

Code:
emerge alsa-plugins

with pulseaudio USE-flag of course.

next, create/modify (/etc/asound.conf):
Quote:
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}

just as stated in http://www.pulseaudio.org/wiki/PerfectSetup#ALSAApplications.

at least on my machine, I can watch now youtube WITH sound again! works for [/list]firefox and chromium
Back to top
View user's profile Send private message
Genetic
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jun 2006
Posts: 111

PostPosted: Wed Jul 21, 2010 11:43 am    Post subject: Reply with quote

Hello,

first of all, I want to thank you for your replies and apologize for me taking so long to respond!

@PaulBredbury: I tried your config file and played a bit with the settings, but it didn't help
@schwarzygesetzlos: Your solution did the trick!

Thanks
Genetic
Back to top
View user's profile Send private message
bus_drivr
n00b
n00b


Joined: 20 Feb 2003
Posts: 48
Location: Florida

PostPosted: Wed Jul 21, 2010 9:22 pm    Post subject: Reply with quote

http://www.youtube.com/html5 deals with a test of html 5 support for WebM. This requires webkit-gtk support in the gstreamer plugins iirc my attempt ;)

At present I can play the video but am having alsa issues. Stairway to Heaven in WebM if you want to test yours ;)http://www.youtube.com/watch?v=w9TGj2jrJk8
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum