Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Sound on flash and everywhere else at the same time, in Arch

Posted 08-13-2010 at 12:57 PM by the dsc
Tags alsa, arch, flash, oss, sound

There had been a weird problem with sound on Arch. Whenever there was a flash item being displayed (or perhaps flash using sound, I suppose), there would be no sound elsewhere. And if there were sound elsewhere, whenever you play something on flash, it would conversely be mute.

The fix is quite simple:

Originally Posted by Wilco
After having some troubles with alsa I managed to fix this once and for all. The problem was I could not run flash+firefox and some other application that uses sound, like xmms or mplayer.
After investigating this problem on my old laptop, searching this forum and the wiki I finally found the final solution which was not described in the other topics, so here it is:
Add to /etc/rc.conf:
MODULES=(... !snd-pcm-oss)
(don't add the dots ofcourse)
The problem with flash is that it defaults to oss if it can find oss. So no matter if you have alsa, flash will prefer oss and oss will block /dev/dsp and no other program can play any sound. If there is no oss device available, flash will use alsa and all problems are gone. No need for a dmix setup or configuring other programs, just disable the old oss system.
Hope this helps someone!

Helped me.
Posted in Uncategorized
Views 2427 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 03:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration