OSS support in firefox

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

waterlaz
Member
Posts: 17
Joined: Wed Aug 27, 2014 4:16 pm
Sound Card: Audigy 2 value
OS: gentoo linux

OSS support in firefox

Postby waterlaz » Tue Sep 02, 2014 10:25 am

Currently there is no OSS support in firefox when playing html5 video.

I believe I've fixed this.

Firefox still requires alsalibs to compile but sound output is done via OSS.

In order to get OSS support you need you replace the file media/libcubeb/src/cubeb_alsa.c with this file http://kawais.mooo.com/cubeb_alsa.c
I havn't made a patch out of it becouse this is actually a rewrite of the original file from scratch.

I think it should not be hard to make the ALSA/OSS choice optional. Unfortunately, I lack any knowledge of how autotools work.
So if anyone knows what should be done and is interested in a proper firefox support, please help me.


Patch for 31.0 : http://kawais.mooo.com/repos/firefox-patches/oss-31.0.patch
Patch for trunk: http://kawais.mooo.com/repos/firefox-patches/oss-trunk.patch

use the --enable-oss option to configure for OSS
Last edited by waterlaz on Wed Sep 03, 2014 1:25 pm, edited 2 times in total.

waterlaz
Member
Posts: 17
Joined: Wed Aug 27, 2014 4:16 pm
Sound Card: Audigy 2 value
OS: gentoo linux

Re: OSS support in firefox

Postby waterlaz » Wed Sep 03, 2014 10:15 am

OK, I've made a patch for the latest developers version in mercurial (doesn't work in 31.0). Get the patch here http://kawais.mooo.com/repos/firefox-patches/oss-trunk.patch

I'll see if I can make a patch for 31.0
Last edited by waterlaz on Wed Sep 03, 2014 1:26 pm, edited 1 time in total.

waterlaz
Member
Posts: 17
Joined: Wed Aug 27, 2014 4:16 pm
Sound Card: Audigy 2 value
OS: gentoo linux

Re: OSS support in firefox

Postby waterlaz » Wed Sep 03, 2014 11:11 am

Last edited by waterlaz on Wed Sep 03, 2014 1:26 pm, edited 1 time in total.

waterlaz
Member
Posts: 17
Joined: Wed Aug 27, 2014 4:16 pm
Sound Card: Audigy 2 value
OS: gentoo linux

Re: OSS support in firefox

Postby waterlaz » Wed Sep 03, 2014 11:57 am

I've forgot to mention that the patches add a --enable-oss option that you have to use.

Xylemon
Member
Posts: 28
Joined: Tue Aug 19, 2014 2:53 pm
Sound Card: Creative X-Fi Xtreme
OS: Slackware Linux

Re: OSS support in firefox

Postby Xylemon » Sat Oct 11, 2014 10:02 am

I'm not sure if this is the right thread, but I ask because it's part of the Mozilla family: Does anyone have a patch for Seamonkey 2.29? I desperately need this.

oss117
Member
Posts: 27
Joined: Tue Jan 15, 2008 4:39 pm

Re: OSS support in firefox

Postby oss117 » Sat Oct 11, 2014 10:32 pm

Here is the same patch as for Firefox, but for Pale Moon v25.0, with the rejects from configure.in sorted out. You will have to delete the configure script and run autoconf (v2.13) to restore that script from the patched configure.in file.
Attachments
palemoon-25.0.0-oss.patch.txt
(9.31 KiB) Downloaded 758 times

nuc
Moderator
Posts: 109
Joined: Fri Aug 03, 2012 10:20 am
Sound Card: PowerColor DEVIL HDX
OS: ArchLinux
Contact:

Re: OSS support in firefox

Postby nuc » Sun Oct 12, 2014 12:51 am

Btw here's the upstream bugreport where the patch is being worked on -> https://bugzilla.mozilla.org/show_bug.cgi?id=1021761
Check out my effort on revamping the opensound website => github.com/Nuc1eoN/4Front-Tech-Website
Any feedback greatly appreciated =)

Xylemon
Member
Posts: 28
Joined: Tue Aug 19, 2014 2:53 pm
Sound Card: Creative X-Fi Xtreme
OS: Slackware Linux

Re: OSS support in firefox

Postby Xylemon » Tue Jul 14, 2015 11:42 pm

Seems like the people fixing the bug have been silent since February...

oss117
Member
Posts: 27
Joined: Tue Jan 15, 2008 4:39 pm

Re: OSS support in firefox

Postby oss117 » Wed Jul 15, 2015 11:03 pm

The patch has since been integrated into Pale Moon.

Xylemon
Member
Posts: 28
Joined: Tue Aug 19, 2014 2:53 pm
Sound Card: Creative X-Fi Xtreme
OS: Slackware Linux

Re: OSS support in firefox

Postby Xylemon » Fri Jul 17, 2015 4:36 am

oss117 wrote:The patch has since been integrated into Pale Moon.


I was actually referring to the Firefox bug. Also, a friend is working on making the above Palemoon patch work with Seamonkey. So far it actually compiles fine, but if you play anything with audio (like a webm or YT video), Seamonkey segfaults sadly. Hopefully I'll be able to post here soon enough with a working solution.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 4 guests