Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131237 - www-client/mozilla-firefox-1.5.0.2 - Patch to change "exec" to "aoss" in /usr/bin/firefox stub if "aoss' USE flag set
Summary: www-client/mozilla-firefox-1.5.0.2 - Patch to change "exec" to "aoss" in /usr...
Status: RESOLVED DUPLICATE of bug 146108
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
: 132063 138811 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-25 09:57 UTC by John Reed Riley
Modified: 2006-09-03 04:35 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to mozilla-firefox-1.5.0.2.ebuild to add "aoss" USE flag (firefox-aoss.patch,745 bytes, patch)
2006-04-25 09:59 UTC, John Reed Riley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Reed Riley 2006-04-25 09:57:32 UTC
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.
Comment 1 John Reed Riley 2006-04-25 09:59:13 UTC
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.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-25 10:05:15 UTC
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.
Comment 3 Patrizio Bassi 2006-04-25 10:23:41 UTC
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
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-05-02 14:49:49 UTC
*** Bug 132063 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-02 14:51:42 UTC
As said, never needed any such thing like aoss here...
Comment 6 Dick Marinus 2006-05-22 07:55:51 UTC
(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
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 01:06:23 UTC
*** Bug 138811 has been marked as a duplicate of this bug. ***
Comment 8 Graham Murray 2006-07-02 03:28:06 UTC
(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.
Comment 9 John Reed Riley 2006-07-16 05:51:59 UTC
(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.

Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-03 04:35:34 UTC
Deprecated by Bug 146108.


*** This bug has been marked as a duplicate of 146108 ***