Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155172 - Netscape-flash-9.0.21.55 keeps using oss instead of falling back to alsa
Summary: Netscape-flash-9.0.21.55 keeps using oss instead of falling back to alsa
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-14 15:42 UTC by Eric Langlois
Modified: 2006-11-14 15:53 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 Eric Langlois 2006-11-14 15:42:05 UTC
~ # emerge --info
Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Turion(tm) 64 Mobile Technology ML-30
Gentoo Base System version 1.12.6
Last Sync: Sun, 12 Nov 2006 11:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://adelie.polymtl.ca http://gentoo.mirrored.ca"
LANG="fr_CA.utf8"
LC_ALL="fr_CA.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa arts asf avi berkdb bitmap-fonts cairo cdparanoia cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd fam ffmpeg firefox foomaticdb fortran gdbm gif gimpprint gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog java jpeg kde kernel_linux ldap libg++ linguas_fr mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga vorbis xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I am using firefox-bin 1.5.0.8 with Netscape-flash-9.0.21.55. When I am looking at a flash video, I have sound but if I try to use a sound application (like audacious), I get a message saying that my audio device is busy (something quite in french). And, on the other way, if I have a sound application already running, I don't get sound from the flash video. I know that flash 9 uses alsa but it will use oss first if it is compiled with oss support. I am using alsa for all my sound and video applications and I even disabled oss on my system. But I guess I still have some oss libraries because flash doesn't mix properly with other sound applications and I suppose it is because flash keeps using oss. I think this ebuild needs (if possible) a "oss" or "alsa" use flag so users will be able to choose between alsa or oss.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-14 15:45:49 UTC
The ebuild doesn't compile anything, so any flag is completely futile.
Comment 2 Alessio Cassibba (X-Drum) 2006-11-14 15:53:23 UTC
(In reply to comment #0)
> I am using alsa
> for all my sound and video applications and I even disabled oss on my system.
> But I guess I still have some oss libraries because flash doesn't mix properly
> with other sound applications and I suppose it is because flash keeps using
> oss. I think this ebuild needs (if possible) a "oss" or "alsa" use flag so
> users will be able to choose between alsa or oss.

you have to setup ALSA OSS emulation see:
http://www.gentoo.org/doc/en/alsa-guide.xml

and then if your card does not support hardware mixing,
you have to setup dmix too... see:
http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix

i'm running netscape-flash-9.0.21.55 on my crappy laptop
with a crappy soundcard fine