summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-media_media__options.gni
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-media_media__options.gni')
-rw-r--r--www/chromium/files/patch-media_media__options.gni21
1 files changed, 18 insertions, 3 deletions
diff --git a/www/chromium/files/patch-media_media__options.gni b/www/chromium/files/patch-media_media__options.gni
index 4df038aefc52..328c50c9511b 100644
--- a/www/chromium/files/patch-media_media__options.gni
+++ b/www/chromium/files/patch-media_media__options.gni
@@ -1,6 +1,6 @@
---- media/media_options.gni.orig 2021-09-24 04:26:08 UTC
+--- media/media_options.gni.orig 2022-02-07 13:39:41 UTC
+++ media/media_options.gni
-@@ -113,6 +113,9 @@ declare_args() {
+@@ -124,9 +124,12 @@ declare_args() {
# Enables runtime selection of ALSA library for audio.
use_alsa = false
@@ -9,4 +9,19 @@
+
# Alsa should be used on non-Android, non-Mac POSIX systems.
# Alsa should be used on desktop Chromecast and audio-only Chromecast builds.
- if (is_posix && !is_android && !is_mac &&
+- if (is_posix && !is_android && !is_mac &&
++ if (is_posix && !is_android && !is_mac && !is_bsd &&
+ (!is_chromecast || is_cast_desktop_build || is_cast_audio_only)) {
+ use_alsa = true
+
+@@ -141,6 +144,10 @@ declare_args() {
+ if (!use_cras && !is_chromecast && !is_asan && !is_tsan) {
+ use_pulseaudio = true
+ }
++ }
++ if (is_openbsd) {
++ use_sndio = true
++ use_pulseaudio = false
+ }
+ }
+