summaryrefslogtreecommitdiff
path: root/security/tor-browser/patches/patch-dom_media_CubebUtils.cpp
blob: e30535d07e695160e87b37b4d5be24f092d1651b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-dom_media_CubebUtils.cpp,v 1.3 2020/10/07 11:10:35 wiz 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);