freebsd-ports/www/iridium/files/patch-media_base_audio__latency.cc
Robert Nagy 9c709a1d6b www/iridium: update to 2023.04.112
Approved by:	rene (mentor)
Differential Revision:	https://reviews.freebsd.org/D39769
2023-04-23 20:24:00 +02:00

11 lines
563 B
C++

--- media/base/audio_latency.cc.orig 2023-04-22 17:45:15 UTC
+++ media/base/audio_latency.cc
@@ -147,7 +147,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.