Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 131237
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 146108
Assigned To: Mozilla Gentoo Team <mozilla@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Reed Riley <john.reed.riley@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
firefox-aoss.patch Patch to mozilla-firefox-1.5.0.2.ebuild to add "aoss" USE flag patch John Reed Riley 2006-04-25 09:59 0000 745 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 131237 depends on: Show dependency tree
Bug 131237 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-25 09:57 0000
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 From John Reed Riley 2006-04-25 09:59:13 0000 -------
Created an attachment (id=85468) [details]
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 From Jakub Moc (RETIRED) 2006-04-25 10:05:15 0000 -------
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 From Patrizio Bassi 2006-04-25 10:23:41 0000 -------
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 From Jakub Moc (RETIRED) 2006-05-02 14:49:49 0000 -------
*** Bug 132063 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2006-05-02 14:51:42 0000 -------
As said, never needed any such thing like aoss here...

------- Comment #6 From Dick Marinus 2006-05-22 07:55:51 0000 -------
(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 From Jakub Moc (RETIRED) 2006-07-02 01:06:23 0000 -------
*** Bug 138811 has been marked as a duplicate of this bug. ***

------- Comment #8 From Graham Murray 2006-07-02 03:28:06 0000 -------
(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 From John Reed Riley 2006-07-16 05:51:59 0000 -------
(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 From Jakub Moc (RETIRED) 2006-09-03 04:35:34 0000 -------
Deprecated by Bug 146108.


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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug