
I wonder if they're shutting out oss4 also. I haven't used alsa in a long time. Plus I'm still using FF 38.> $ firefox --version
> Mozilla Firefox 50.0
> $
ALSA support is dropped from Firefox 52 onward.

When I looked into it, it appeared to me that Bluez dropped unix socket support at some point, and as a result of that, Bluez also removed its Alsa plugin which depended on unix sockets.Logicien wrote:Since Alsa drop it's Bluetooth support to the profit of Pulseaudio you can have sound without Alsa on Linux using Bluetooth headsets.
The crucial question is whether firefox would be satisfied with the apulse shim libraries for building and running. If it is, it is just a question of writing an appropriate ebuild (which I hope the firefox maintainer of gentoo will do), and you can then either change with USE-flags or even at runtime when the ebuild is properly written. But again: The main question is whether the firefox code works out-of-the-box with the apulse shim.depontius wrote:I would suggest that even without an extra ebuild, pulseaudio could ba added to package.provided, and an apulse wrapper built.

A virtual makes only sense if there are a lot of consumers: If firefox is the only consumer of that virtual, one could omit the virtual and let firefox depend on "|| ( pulseaudio apulse )" instead - which is semantically equivalent but much simpler.eccerr0r wrote:Perhaps there will be a virtual/pulseaudio that's satisfied by media-sound/pulseaudio or media-sound/apulse ...
I see nothing confusing here: Depending on the useflags, firefox talks with (and uses) either pulseaudio or with alsa. Whether some of the two then uses the other one to fulfill its task is a story which has nothing to do with firefox.I think the use flags for alsa/pulseaudio already is a confusing mess since pulseaudio requires alsa.

Yes, this is off topic as no, it's not a firefox issue - it's a general build issue. What's odd is that media-sound/pulseaudio has an alsa flag as itself uses alsa. So people would add USE=alsa to their world make.conf, and then all applications get USE=alsa when the user is actually using pulseaudio. (At least one person got caught up on this requirement and was having trouble building pulseaudio with -alsa.) Then having USE="alsa pulseaudio" all of the applications that support both would have redundant direct alsa support if they don't do per-package USE flag juggling.mv wrote:I see nothing confusing here: Depending on the useflags, firefox talks with (and uses) either pulseaudio or with alsa. Whether some of the two then uses the other one to fulfill its task is a story which has nothing to do with firefox.
As I said, I'm using apulse with Skype, and that is precompiled. (OCO) I don't know if there's anything about firefox demanding more capability that Skype, but there is a binary-compatible existence theorem for at least one program.mv wrote:But both is only possible if apulse is really a drop-in replacement, i.e. if it can be exchanged also after firefox has been compiled with one of the two options; otherwise the information what is required must be stored in the system, i.e. a USE-flag is necessary to distinguish with what you want to compile firefox.
In the case of Skype, I happen to know that it is not a drop-in replacement (that's why there is an apulse USE-flag in skype): There are special hacks by overriding library calls using LD_PRELOAD with a wrapper script. That's why I am afraid that future firefox might not compile with apulse at all without heavy patching.depontius wrote:As I said, I'm using apulse with Skype, and that is precompiled.
If I recall correctly, it is the opposite here: The alsa USE-flag of pulseaudio causes an alsa-plugin to be built which causes "pure" alsa applications to pass control over to pulseaudio.eccerr0r wrote:What's odd is that media-sound/pulseaudio has an alsa flag as itself uses alsa.
If they do this instead of using package.use when they want alsa for pulseaudio, they are doing something wrong. Moreover, pulseaudio has USE=+alsa enabled by default. Maybe one could improve documentation to make clearer that global USE-flags should be used only if one really wants global support for all applications, but I consider this a pure general documentation issue.So people would add USE=alsa to their world make.conf
Unless applications have the ability to configure the audio output at runtime (which will probably be the minority and which should be what the user wants if he enables both globally), either the ebuild ignores USE=alsa (perhaps printing a corresponding warning at build time) or the user will even get an explicit error due to REQUIRED_USE.Then having USE="alsa pulseaudio" all of the applications that support both