diff options
author | Robert Nagy <rnagy@FreeBSD.org> | 2024-05-22 13:21:19 +0200 |
---|---|---|
committer | Robert Nagy <rnagy@FreeBSD.org> | 2024-05-22 15:26:15 +0200 |
commit | 6acad34cb2bc3b858f64724620fd3c11b2a602f3 (patch) | |
tree | ca0e544bd8c20e18a69c323ca6b43eaa8923ab56 /www/chromium/files/patch-media_media__options.gni | |
parent | security/vuxml: add www/*chromium < 125.0.6422.76 (diff) |
www/chromium: update to 125.0.6422.76 and implement selectable audio backend support
with these changes, chromium now automatically selects which
audio backend to use in the following order:
pulse (if running) -> sndio -> alsa -> fake
an additional command line option has been also implemented so
that the user can force which backend to use:
--audio-backend={auto,sndio,pulse,alsa}
Security: https://vuxml.freebsd.org/freebsd/8247af0d-183b-11ef-9f97-a8a1599412c6.html
PR: 246449
Diffstat (limited to 'www/chromium/files/patch-media_media__options.gni')
-rw-r--r-- | www/chromium/files/patch-media_media__options.gni | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/www/chromium/files/patch-media_media__options.gni b/www/chromium/files/patch-media_media__options.gni index b80cdd2c9011..32e6c83f6f04 100644 --- a/www/chromium/files/patch-media_media__options.gni +++ b/www/chromium/files/patch-media_media__options.gni @@ -1,4 +1,4 @@ ---- media/media_options.gni.orig 2024-02-23 21:04:38 UTC +--- media/media_options.gni.orig 2024-05-21 18:07:39 UTC +++ media/media_options.gni @@ -190,12 +190,15 @@ declare_args() { # Enables runtime selection of ALSA library for audio. @@ -17,14 +17,3 @@ (!is_castos || (target_cpu == "x86" || target_cpu == "x64") || is_cast_audio_only)) { use_alsa = true -@@ -211,6 +214,10 @@ declare_args() { - if (!use_cras && !is_castos && !is_asan && !is_tsan) { - use_pulseaudio = true - } -+ } -+ if (is_openbsd) { -+ use_sndio = true -+ use_pulseaudio = false - } - } - |