|
Bugzilla – Full Text Bug Listing |
| Summary: | Macromedia Flash has no sound in Firefox | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Holly Mennie <kalinda> |
| Component: | Firefox | Assignee: | E-mail List <bnc-team-mozilla> |
| Status: | RESOLVED WONTFIX | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | tiwai |
| Version: | Final | ||
| Target Milestone: | SUSE Linux 10.1 | ||
| Hardware: | i386 | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Holly Mennie
2006-03-04 03:37:59 UTC
Firefox uses libesd (which uses Alsa) but Flash is using /dev/dsp directly as it uses OSS compatible stuff I think. We workaround this in SUSE Linux 10.1 by preloading libaoss when starting Firefox. So you would have to modify the startscript: please locate the line $MOZ_PROGRAM $@ and change it to /usr/bin/aoss $MOZ_PROGRAM $@ in /opt/MozillaFirefox/lib/firefox.sh That should hopefully fix the problem. No, that didn't work :(
It is worth noting that, oddly, the script you mentioned was not located in /opt/MozillaFirefox/lib/ but rather in /usr/lib/firefox. So I changed the script and when that didn't work I copied it to the place you said it was supposed to be.
Also.. the script had some aoss stuff already in it:
# AOSS
AOSS=$(which aoss)
# Force use of GTK+ 2.0 for Flash player to get better performance
# (no impact when using mozilla gtk1 build
#
export FLASH_GTK_LIBRARY=libgtk-x11-2.0.so.0
# ignore composite extension
export XLIB_SKIP_ARGB_VISUALS=1
# Pango support
if [ -z "$MOZ_ENABLE_PANGO" -a -z "$MOZ_DISABLE_PANGO" ]; then
case "${LC_ALL-${LC_CTYPE-${LANG-en_US}}}" in
bn*|gu*|hi*|kn*|ml*|mr*|pa*|ta*|te*) # list of languages which need pango
;;
*)
MOZ_DISABLE_PANGO=1 # disable by default
;;
esac
fi
On top of this, the line you mentioned, $MOZ_PROGRAM $@, was there but it had $AOSS in front of it. I removed that and added the proper stuff.
This may have to do with my installation of that ALSA-oss RPM package.. or how I ran "aoss firefox" in the terminal last night, though it did nothing except open Firefox.
Thanks for the timely reply :)
You didn't mention that you already use a non-official update version of firefox. The package you have has all needed parts. The interesting thing is that it still doesn't work. As I don't know much about sound/alsa I add someone who might have. If you invoke as "aoss firefox", LD_PRELOAD is kept so the binary itself should be started with the same hook. Setting $ALSA_OSS_DEBUG=1 will give you some debug prints if the binary is really hooked with libaoss. Please check through it, or add strace to check syscalls. No reaction on this bug for a long time. Closing as CANTFIX. |