sound in firefox without alsa emulation?
Moderators: dev, hannu, cesium
sound in firefox without alsa emulation?
hi is there a way to get sound in firefox using 0ssv4 without installing alsa and pulseaudio?
-
Nexus
- Member
- Posts: 11
- Joined: Sun Sep 16, 2018 8:14 pm
- Sound Card: M-Audio Delta 44, Ap 2496
- OS: MX-21.2
Re: sound in firefox without alsa emulation?
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.
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?
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
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.
Moderation note: FTFY
- Attachments
-
- 0001-oss-disable-alsa.patch.txt
- (19.75 KiB) Downloaded 823 times
-
- 0002-oss-enable.patch.txt
- (5.08 KiB) Downloaded 813 times
-
- 0003-cubeb_oss_c.patch.txt
- (12.3 KiB) Downloaded 821 times
-
- 0004-oss-add-assert.patch.txt
- (885 Bytes) Downloaded 851 times
Last edited by nuc on Wed Jan 15, 2020 9:22 pm, edited 1 time in total.
Reason: Mod: Attach 4th patch
Reason: Mod: Attach 4th patch
Re: sound in firefox without alsa emulation?
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.
-
nuc
- Moderator
- Posts: 111
- Joined: Fri Aug 03, 2012 10:20 am
- Sound Card: Khadas Tone Board
- OS: ArchLinux
- Contact:
Re: sound in firefox without alsa emulation?
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
https://github.com/Nuc1eoN/4Front-Tech-Website
Who is online
Users browsing this forum: No registered users and 58 guests