Coder Social home page Coder Social logo

Thank you for this about apulse HOT 10 OPEN

i-rinat avatar i-rinat commented on May 19, 2024 10
Thank you for this

from apulse.

Comments (10)

i-rinat avatar i-rinat commented on May 19, 2024 1

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.

worldowner avatar worldowner commented on May 19, 2024

With Firefox 54 it is no longer possible to turn on ALSA support.

from apulse.

i-rinat avatar i-rinat commented on May 19, 2024

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.

worldowner avatar worldowner commented on May 19, 2024

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.

i-rinat avatar i-rinat commented on May 19, 2024

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.

worldowner avatar worldowner commented on May 19, 2024

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.

SoniEx2 avatar SoniEx2 commented on May 19, 2024

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.

jjdredd avatar jjdredd commented on May 19, 2024

@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.

tkas avatar tkas commented on May 19, 2024

Just want to add another thank you. Will give me some time to run away from Firefox.

from apulse.

mbilker avatar mbilker commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.