Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93886 - proposing DSP option to mozilla-launcher
Summary: proposing DSP option to mozilla-launcher
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-24 22:58 UTC by Jordan
Modified: 2005-06-30 13:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan 2005-05-24 22:58:17 UTC
Basically I'm proposing a variable that starts firefox with aoss, artsdsp, esddsp, etc. I'm trying to eliminate OSS completely, and this makes the flash plugin work, essentially. Currently doing "aoss firefox" accomplishes the same thing, but seeing as other distros already have a variable for this, and gentoo does similar things such as MOZILLA_NEWTYPE, I see no reason why this shouldn't be in mozilla-launcher. Other distros call the variable "FIREFOX_DSP" however I think MOZILLA_DSP is probably more appropriate.

so something like export MOZILLA_DSP="aoss" firefox would start up firefox with aoss. Simple enough.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2005-06-30 08:40:26 UTC
What is aoss?  Could you give me some links to relevant documentation?
Comment 2 Jordan 2005-06-30 12:00:58 UTC
aoss basically converts OSS to alsa, but unlike the kernel oss emulation in
alsa, it runs through alsa-lib and thus can pass through alsa plugins (good for
dmixing and such) It is similar in concept to artsdsp or esddsp which convert
oss to use esd or arts accordingly. They usually use LD_PRELOAD in a wrapper
script, and you run for example "aoss firefox" and it'll just work, well most of
the time anyway. There's always a few things it won't work with. It tends to
work ok with the flash plugin and such.

if there were native alsa output on flash and all the other plugins something
like this would be completely unneccessary but because there isn't this is not a
bad thing to have.

here's an excerpt the man page:

aoss is a simple wrapper script which facilitates the use of  the  ALSA
       OSS compatibility library. It just sets the appropriate LD_PRELOAD path
       and then runs the command.

       This is useful in cases where routing settings (which can  be  made  in
       your  .asoundrc  file)  need to be applied to commands that use the OSS
       API.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2005-06-30 13:08:09 UTC
Thanks for the explanation.  I'd rather not include it in mozilla-launcher
because it has questionable value, and it's something additonal for me to
support and track.  I think it should be sufficient for administrators to either
(1) call aoss firefox when they're starting the browser, or (2) create a wrapper:

#!/bin/bash
exec aoss /usr/bin/firefox "$@"