Hello, Every time I upgrade mozilla-firefox, it stops behaving nicely with regards to mixing multiple audio streams. (My laptop doesn't support audio stream mixing in hardware, and as far as I know it isn't possible to do oss software mixing) This is particularly annoying with flash-enabled websites, as they don't play any sound unless firefox was the first application using sound to start. The simple solution to this problem is described here: http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix#Firefox.2C_Mozilla.2C_RealPlayer.2C_Skype_.26_Co I'd like it if there was a USE flag for firefox that caused the /usr/bin/firefox script to be installed using "aoss" instead of "exec", so that this didn't break everytime someone in my situation upgraded mozilla-firefox.
Created attachment 85468 [details, diff] Patch to mozilla-firefox-1.5.0.2.ebuild to add "aoss" USE flag Here's a patch that adds an "aoss" USE flag. When enabled, it adds "alsa-oss" as a dependency, and changes "exex" to "aoss" in the /usr/bin/firefox script that gets installed.
Completely unneeded... Both realplayer and netscape-flash play multiple sounds just fine when alsa-driver is compiled with USE="oss". If that's not the case for you, then fix your sound setup instead of requesting USE flags for Firefox. Also, no aoss is needed for that. The wiki howto apparently needs some update wrt dmix as well, it's been default in alsa for a while.
jacub i think you're wrong. you need aoss wrapper to use dmix with oss emulation. however a better fix could be the mozilla launcher patch
*** Bug 132063 has been marked as a duplicate of this bug. ***
As said, never needed any such thing like aoss here...
(In reply to comment #5) > As said, never needed any such thing like aoss here... Enabling USE flag oss on media-sound/alsa-driver works for me! Thanks Jakub
*** Bug 138811 has been marked as a duplicate of this bug. ***
(In reply to comment #6) > Enabling USE flag oss on media-sound/alsa-driver works for me! Thanks Jakub > Here it does not, I have always had the oss flag set in /etc/make.conf and flash audio in Firefox has always refused to play if something else has used audio since opening firefox. I suspect that it may have something to do with the sound card. It could be something such as soundcards which have hardware mixing work with just the oss flag but aoss is required for those which do not.
(In reply to comment #8) > I suspect that it may have something to do with the sound card. It could be > something such as soundcards which have hardware mixing work with just the oss > flag but aoss is required for those which do not. Yes, that's what I suspect is at fault as well. I've got an AC'97 audio controller, and as far as I'm aware, it doesn't support mixing multiple audio streams in hardware.
Deprecated by Bug 146108. *** This bug has been marked as a duplicate of 146108 ***