mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
19 lines
908 B
C++
19 lines
908 B
C++
--- media/webrtc/helpers.cc.orig 2025-01-27 17:37:37 UTC
|
|
+++ media/webrtc/helpers.cc
|
|
@@ -43,14 +43,14 @@ void ConfigAutomaticGainControl(const AudioProcessingS
|
|
return;
|
|
}
|
|
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
const bool kInputVolumeAdjustmentOverrideAllowed = true;
|
|
#elif BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
|
|
const bool kInputVolumeAdjustmentOverrideAllowed = false;
|
|
#endif
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \
|
|
- BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
// Use AGC2 digital and input volume controller.
|
|
// TODO(crbug.com/40872787): Remove `kWebRtcAllowInputVolumeAdjustment` safely
|
|
// and set `input_volume_controller.enabled` true.
|