aboutsummaryrefslogtreecommitdiff
path: root/devel/electron18/files/patch-third__party_blink_renderer_modules_media_audio_audio__device__factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron18/files/patch-third__party_blink_renderer_modules_media_audio_audio__device__factory.cc')
-rw-r--r--devel/electron18/files/patch-third__party_blink_renderer_modules_media_audio_audio__device__factory.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron18/files/patch-third__party_blink_renderer_modules_media_audio_audio__device__factory.cc b/devel/electron18/files/patch-third__party_blink_renderer_modules_media_audio_audio__device__factory.cc
new file mode 100644
index 000000000000..43eb0c086427
--- /dev/null
+++ b/devel/electron18/files/patch-third__party_blink_renderer_modules_media_audio_audio__device__factory.cc
@@ -0,0 +1,11 @@
+--- third_party/blink/renderer/modules/media/audio/audio_device_factory.cc.orig 2022-05-19 05:17:48 UTC
++++ third_party/blink/renderer/modules/media/audio/audio_device_factory.cc
+@@ -34,7 +34,7 @@ AudioDeviceFactory* AudioDeviceFactory::factory_ = nul
+ namespace {
+
+ #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
+- BUILDFLAG(IS_CHROMEOS_LACROS)
++ BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+ // Due to driver deadlock issues on Windows (http://crbug/422522) there is a
+ // chance device authorization response is never received from the browser side.
+ // In this case we will time out, to avoid renderer hang forever waiting for