Bug 259524 - www/firefox: Use sndio as default audio backend
Summary: www/firefox: Use sndio as default audio backend
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-29 12:01 UTC by Bryan Frimin
Modified: 2022-01-20 09:29 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gecko)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Frimin 2021-10-29 12:01:47 UTC
The current Firefox port uses PulseAudio as the default audio backend,
making sense as the default Firefox backend is PulseAudio. But as on
FreeBSD, the default audio backend is sndio. What do you think about
changing PulseAudio for sndio as the default audio backend?
Comment 1 Jan Beich freebsd_committer freebsd_triage 2021-10-29 14:06:16 UTC
(In reply to Bryan Frimin from comment #0)
> The current Firefox port uses PulseAudio as the default audio backend

Only if you have pulseaudio package installed. This is what upstream (Mozilla Corporation) maintains for desktop Linux and works best in GNOME/KDE/etc due to integration with panels/bars/widgets.

> But as on FreeBSD, the default audio backend is sndio.

Source? sound(4) exposes OSSv4 API with additional features provided via virtual_oss package. In firefox it's supported since ports 0c61cc4d7a7b.

> What do you think about changing PulseAudio for sndio as the default audio backend?

See bug 218188 and pkg-message. On a fresh system "pkg install firefox sndio" already uses sndio by default.
Comment 2 Bryan Frimin 2022-01-20 09:29:24 UTC
Right, thanks.