summaryrefslogtreecommitdiff
path: root/www/firefox78/patches/patch-dom_media_CubebUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox78/patches/patch-dom_media_CubebUtils.cpp')
-rw-r--r--www/firefox78/patches/patch-dom_media_CubebUtils.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/firefox78/patches/patch-dom_media_CubebUtils.cpp b/www/firefox78/patches/patch-dom_media_CubebUtils.cpp
new file mode 100644
index 00000000000..ec192124cea
--- /dev/null
+++ b/www/firefox78/patches/patch-dom_media_CubebUtils.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-dom_media_CubebUtils.cpp,v 1.1 2020/07/30 08:09:28 nia Exp $
+
+--- dom/media/CubebUtils.cpp.orig Wed Jan 8 01:23:31 2020
++++ dom/media/CubebUtils.cpp
+@@ -140,7 +140,7 @@ const char kBrandBundleURL[] = "chrome://branding/loca
+
+ const char* AUDIOSTREAM_BACKEND_ID_STR[] = {
+ "jack", "pulse", "alsa", "audiounit", "audioqueue", "wasapi",
+- "winmm", "directsound", "sndio", "opensl", "audiotrack", "kai"};
++ "winmm", "directsound", "sndio", "opensl", "audiotrack", "kai", "sun"};
+ /* Index for failures to create an audio stream the first time. */
+ const int CUBEB_BACKEND_INIT_FAILURE_FIRST =
+ ArrayLength(AUDIOSTREAM_BACKEND_ID_STR);