aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-media_base_audio__latency.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-media_base_audio__latency.cc')
-rw-r--r--devel/electron33/files/patch-media_base_audio__latency.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron33/files/patch-media_base_audio__latency.cc b/devel/electron33/files/patch-media_base_audio__latency.cc
new file mode 100644
index 000000000000..5a5f37b3ef66
--- /dev/null
+++ b/devel/electron33/files/patch-media_base_audio__latency.cc
@@ -0,0 +1,11 @@
+--- media/base/audio_latency.cc.orig 2024-10-16 21:31:33 UTC
++++ media/base/audio_latency.cc
+@@ -148,7 +148,7 @@ int AudioLatency::GetRtcBufferSize(int sample_rate, in
+ }
+
+ #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_APPLE) || \
+- BUILDFLAG(IS_FUCHSIA)
++ BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
+ // On Linux, MacOS and Fuchsia, the low level IO implementations on the
+ // browser side supports all buffer size the clients want. We use the native
+ // peer connection buffer size (10ms) to achieve best possible performance.