Page 1 of 1

sound in firefox without alsa emulation?

Posted: Sun Jan 05, 2020 6:44 pm
by adcdam
hi is there a way to get sound in firefox using 0ssv4 without installing alsa and pulseaudio?

Re: sound in firefox without alsa emulation?

Posted: Wed Jan 08, 2020 5:11 am
by adcdam

Re: sound in firefox without alsa emulation?

Posted: Sat Jan 11, 2020 11:37 pm
by Nexus
Seems like the patch hasn't been added to Firefox in three years time and the bug report is still open. So I'd guess it doesn't work then. Shame.

I circumvent the lack of features in Firefox like OSS support and hardware accelerated video by using mpv media player with the Open With extension. Mpv can hook up to pretty much any decent source with youtube-dl installed on a system.

Re: sound in firefox without alsa emulation?

Posted: Mon Jan 13, 2020 12:41 pm
by rjackson
I used the attached patches until a year ago, which I originally obtained via the firefox bugzilla and cubeb github repo.

You need to set the pref 'security.sandbox.content.read_path_whitelist' to '/dev/dsp' in order to hear anything, and things work best if the oss4 resampler is enabled.

I can't attach more than three files on here, so the fourth is in text below.......
Moderation note: FTFY

Re: sound in firefox without alsa emulation?

Posted: Mon Mar 02, 2020 1:34 pm
by donroc



I just applied the patch (28.8.4) and it works fine at least with palemoon (firefox based browser).
Note I did have to pass mozconfig_disable alsa when compiling to disable alsa being included, but oss gets selected then.

Re: sound in firefox without alsa emulation?

Posted: Thu Jul 23, 2020 10:15 pm
by nuc
adcdam wrote:hi is there a way to get sound in firefox using 0ssv4 without installing alsa and pulseaudio?


There is a Pull Request open for that https://github.com/kinetiknz/cubeb/pull/41