Comments (10)
This might be the only way to still use Firefox with ALSA.
It should be possible to make own build of Firefox with ALSA support enabled. As far as I know, there are no plans to remove ALSA code from libcubeb library, which is used by Firefox to play audio.
from apulse.
With Firefox 54 it is no longer possible to turn on ALSA support.
from apulse.
With Firefox 54 it is no longer possible to turn on ALSA support.
Just tried to build Firefox 54 from source with the following .mozconfig
:
ac_add_options --enable-alsa
ac_add_options --disable-tests
Audio works without PulseAudio, by directly using ALSA. There is no need to disable sandboxing or something like that. In ALSA-enabled builds, paths required by userspace part of ALSA are in exception list already. So, it should work. What are your build options?
from apulse.
It doesn't work when you have browser.tabs.remote.force-enable = true. There is no sound. When this option is set to false it works.
from apulse.
It doesn't work when you have browser.tabs.remote.force-enable = true.
I tested once again, now with this option set. Audio still works. Actually, that option did nothing, since I'm testing on an empty profile, so multiprocess mode is enabled.
@worldowner, how do you build Firefox? Are you sure you have --enable-alsa
option set?
from apulse.
about:support says:
Audio Backend alsa
so yes, I'm sure. I took PKGBUILD from Archlinux's abs, added
ac_add_options --enable-alsa
ac_add_options --disable-tests
and recompilled (makepkg) inside virtual machine (because I have access to powerful servers). I'm running this build on 2 different computers, one Intel based laptop, second AMD based desktop and result is the same. No sound when
browser.tabs.remote.force-enable = true
It's enough to set this to false and restart Firefox to get sound back.
I double checked that just a minte ago.
from apulse.
sets browser.tabs.remote.autostart
to false, restarts firefox... nope didn't work... in fact, I can't seem to be able to set that to false, it just creates a new key with .2
at the end, set to true
...
sets browser.tabs.remote.autostart.2
to false, restarts firefox... CAN HEAR AGAIN
EDIT: don't do this. this technically disables the sandbox. instead, see #55.
from apulse.
@i-rinat Thanks for apulse! It's not always possible to build firefox from source, though, so apulse really helps here and with skype.
Спасибо.
from apulse.
Just want to add another thank you. Will give me some time to run away from Firefox.
from apulse.
Another thank you for this project! I rebuilt Firefox with ALSA support on Gentoo, but it wasn't picking up the audio I/O settings other than the sample rate. apulse
allows Firefox to pick-up an output device, though the sample rate is incorrect, which that is corrected with the plug
interface.
from apulse.
Related Issues (20)
- Error when starting application with apulse HOT 1
- Firejailed browsers no sound (Firefox & Brave) HOT 1
- Firefox 71.0b6 no sound HOT 2
- No alsa sound in FF 69 HOT 1
- Capture PCM output of apulse HOT 2
- No sound with FF 73 (working with FF 72) HOT 1
- Apulse does not work with alsa ioplug HOT 1
- apulse with firefox 68.6.esr (devuan) HOT 7
- chromium/brave error in trisquel etiona/ubuntu 18.0 HOT 9
- patchelf not working HOT 2
- fluidsynth 2.1.3 can't find pa_threaded_mainloop_get_api symbol HOT 2
- viber complains for old version of PulseAudio server HOT 1
- Fix building with PulseAudio 13
- Audio lags behind by .5 seconds on Factorio HOT 3
- Capture device leaves browser with locks held
- apulse should not even exist HOT 2
- Is this project unmaintained? HOT 3
- apulse + firefox reader view causes speech to fail for other applications
- What is more secure, apulse or PipeWire? HOT 2
- Telegram doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apulse.