1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/chromium/files/patch-media_webrtc_webrtc__switches.cc
2020-04-13 10:37:15 +00:00

12 lines
552 B
C++

--- media/webrtc/webrtc_switches.cc.orig 2020-02-03 21:52:48 UTC
+++ media/webrtc/webrtc_switches.cc
@@ -50,7 +50,7 @@ namespace media {
bool IsWebRtcApmInAudioServiceEnabled() {
#if defined(OS_WIN) || defined(OS_MACOSX) || \
- (defined(OS_LINUX) && !defined(OS_CHROMEOS))
+ (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
return base::FeatureList::IsEnabled(features::kWebRtcApmInAudioService) &&
!base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kForceDisableWebRtcApmInAudioService);