aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-content_renderer_media_webrtc_processed__local__audio__source.cc
blob: efb2042b2d6077008d7e3e065895bd252272af85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- content/renderer/media/webrtc/processed_local_audio_source.cc.orig	2017-04-19 19:06:34 UTC
+++ content/renderer/media/webrtc/processed_local_audio_source.cc
@@ -269,8 +269,8 @@ void ProcessedLocalAudioSource::Capture(
                                         bool key_pressed) {
 #if defined(OS_WIN) || defined(OS_MACOSX)
   DCHECK_LE(volume, 1.0);
-#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_OPENBSD)
-  // We have a special situation on Linux where the microphone volume can be
+#elif defined(OS_POSIX) && !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
+  // We have a special situation on POSIX where the microphone volume can be
   // "higher than maximum". The input volume slider in the sound preference
   // allows the user to set a scaling that is higher than 100%. It means that
   // even if the reported maximum levels is N, the actual microphone level can