You are not logged in.

#1 2013-01-28 05:42:36

MikeDacre
Member
From: San Francisco Bay Area
Registered: 2013-01-18
Posts: 51
Website

[SOLVED]Alsa: No sound in flash64, works in flash32

Hi Everyone,

So I had a devel of a time getting audio working on my computer, largely because I was an idiot. I got oss working fine, but then it wouldn't work with either chromium or firefox.  With help from mich41 (https://bbs.archlinux.org/viewtopic.php?id=156936) I was able to get it working with just alsa, and I uninstalled everything related to oss, or at least I thought I did.

Now sound works everywhere except the 64bit flash plugin (extra/flashplugin 11.2.202.261-1) at /usr/lib/mozilla/plugins/libflashplayer.so.  In either chromium or firefox, flash videos play with video, but no sound, I can get Google Play Music to work fine, but not video.  I fixed this problem in firefox by installing aur/lib32-flashplugin 11.2.202.261-2.  However, neither chromium nor google-chrome will use this by default.

Here is the key though:

When I play a flash video in chromium, I get the following error:
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp

The only references I can find to pcm_oss in the 64bit and 32bit versions of alsa-plugins:
alsa-plugins: /usr/lib/alsa-lib/libasound_module_pcm_oss.so
lib32-alsa-plugins: /usr/lib32/alsa-lib/libasound_module_pcm_oss.so

I have search for a while and I can't find a way to either disable oss completely, or to change the oss device, when oss isn't installed.  (yaourt -Qs oss turns up nothing related to oss, and I haven't custom compiled anything)

The only thing I can think of that I don't really want to do is to remove flashplugin and symlink the 32 bit version to the 64 bit library location so that chromium is tricked into using the 32 bit one.

Or perhaps I should install oss and alsa side-by-side??  I am pretty sure that is impossible since oss detaches the alsa kernel modules.

Does anyone have any ideas?  Does anyone else have this problem?

Also, the pepper version of flash for chromium also does not work.

Thanks!

Last edited by MikeDacre (2013-04-01 23:39:37)

Offline

#2 2013-01-28 08:25:13

MikeDacre
Member
From: San Francisco Bay Area
Registered: 2013-01-18
Posts: 51
Website

Re: [SOLVED]Alsa: No sound in flash64, works in flash32

I figured it out - pulseaudio was not set up properly.

I just reinstalled pulseaudio, configured it to use the analog output and not the HDMI, installed pulseaudio-alsa, and rebooted, and now everything works!

Offline

Board footer

Powered by FluxBB