Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65874 - [firefox][feature request] Enable sndio backend support

Attached to Project: Arch Linux
Opened by Javier (je-vv) - Wednesday, 18 March 2020, 00:53 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 18 March 2020, 15:25 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Currently firefox is being built without enabling sndio audio backend support. For those interested in using sndio as an alternative audio backend, it's way better to have applications providing native support.

It might be it's a matter of adding "ac_add_options --enable-sndio", and also adding "export MOZ_SNDIO=1", as well as 'export MOZ_SNDIO_LIBS="-lsndio"' to the mozconfig... It might be this is also required:

--- media/libcubeb/src/moz.build.orig
+++ media/libcubeb/src/moz.build
@@ -44,11 +44,13 @@
]
DEFINES['USE_JACK'] = True

-if CONFIG['OS_ARCH'] == 'OpenBSD':
+if CONFIG['MOZ_SNDIO']:
SOURCES += [
'cubeb_sndio.c',
]
DEFINES['USE_SNDIO'] = True
+
+if CONFIG['OS_ARCH'] == 'OpenBSD':
DEFINES['DISABLE_LIBSNDIO_DLOPEN'] = True

if CONFIG['OS_TARGET'] == 'Darwin':

To really get it to work...
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 18 March 2020, 15:25 GMT
Reason for closing:  Won't implement
Comment by Eli Schwartz (eschwartz) - Wednesday, 18 March 2020, 14:34 GMT
If media/libcubeb/src/moz.build needs to be patched to get this to work, it sounds like it isn't supported upstream. Please open a Mozilla bug report for this.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 18 March 2020, 15:25 GMT
I agree; I won't carry a patch for this.

Loading...