I visit http://www.html5video.org today to test the HTML5 video tag. But there was no sound. Chromium print several time the following output: ALSA lib pcm.c:2171:(snd_pcm_open_conf) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so [19087:19331:14334566122:ERROR:media/audio/linux/alsa_output.cc(740)] Cannot open audio device (default): No such file or directory In fact '/usr/lib64/alsa-lib/libasound_module_pcm_pulse.so' doesn't exist on my system. So I emerge alsa-plugins and now i have sound in HTML5 videos. JUHU I think chromium should have alsa-plugins as a dependency. Reproducible: Always Steps to Reproduce: 1. Visit http://www.html5video.org with chromium 2. Play the video Actual Results: NO sound in HTML5 video/audio Expected Results: Sound in HTML5 video/audio www-client/chromium-6.0.490.1 USE="cups gnome sse2"
Created attachment 243387 [details, diff] Chromium also-plugins Patch
Is www-client/chromium-5.0.375.125 affected? How about www-client/chromium-6.0.472.36 and www-client/chromium-bin-5.0.375.125?
Just a guess: Do you have alsa configured to use "pulse" as the default sound device?
(In reply to comment #2) Sorry for the late response. chromium-bin-5.0.375.12 only show the snap page when I enter the video page! Don't know why. chromium-5.0.375.125 and chromium-6.0.472.36 are affected as well. (In reply to comment #3) Yes, I do so. Is this a bad idea or outdated? cat /etc/asound.conf pcm.pulse { type pulse } ctl.pulse { type pulse } pcm.!default { type pulse } ctl.!default { type pulse }
> (In reply to comment #3) > Yes, I do so. Is this a bad idea or outdated? I don't think it is a /bad/ idea, but it does mean that you need to have alsa-plugins installed. Basically, your also config depends on alsa-plugins -- chromium has nothing to do with it. This would explain why Pawel cannot reproduce the error.
(In reply to comment #5) Hmm, I see. But chromium is the first application which really needs alsa-plugins. (just for me right now) Listen like my "/etc/asound.conf" is not really necessary. If not, it's a missing dependency for pulseaudio!? I have take a closer look on this, but this has to wait until monday.
The first sentence in this wiki article is what I'm working from. I'm not a pulseaudio user myself, so I can't comment from personal experience. http://en.gentoo-wiki.com/wiki/PulseAudio
I think that it's rather your configuration than chromium that requires alsa-plugins.