Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Side by Side Diff: content/public/common/content_switches.cc

Issue 54383003: Added an "enable-audio-processor" flag and WebRtcAudioProcessor class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed most of Dale's comments. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 896 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 // Causes the process to run as a worker subprocess. 907 // Causes the process to run as a worker subprocess.
908 const char kWorkerProcess[] = "worker"; 908 const char kWorkerProcess[] = "worker";
909 909
910 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 910 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
911 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 911 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
912 912
913 // Causes the process to run as a renderer zygote. 913 // Causes the process to run as a renderer zygote.
914 const char kZygoteProcess[] = "zygote"; 914 const char kZygoteProcess[] = "zygote";
915 915
916 #if defined(ENABLE_WEBRTC) 916 #if defined(ENABLE_WEBRTC)
917 // Disable WebRTC device enumeration. 917 // Enables audio processing in a MediaStreamTrack ? When this flag is on, aec,
918 // Ns and AGC will be done per MediaStreamTrack instead of in PeerConnection.
919 const char kEnableAudioTrackProcessing[] = "enable-audio-processor";
920
921 // Disables WebRTC device enumeration.
918 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; 922 const char kDisableDeviceEnumeration[] = "disable-device-enumeration";
919 923
920 // Disable WebRTC DataChannels SCTP wire protocol support. 924 // Disables WebRTC DataChannels SCTP wire protocol support.
921 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; 925 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels";
922 926
923 // Disables HW decode acceleration for WebRTC. 927 // Disables HW decode acceleration for WebRTC.
924 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 928 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
925 929
926 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it 930 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
927 // ignores this switch on its stable and beta channels. 931 // ignores this switch on its stable and beta channels.
928 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 932 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
929 933
930 // Disables HW encode acceleration for WebRTC. 934 // Disables HW encode acceleration for WebRTC.
931 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 935 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
932 936
933 // Enables WebRTC AEC recordings. 937 // Enables WebRTC AEC recordings.
934 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; 938 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings";
935 939
936 // Enable WebRTC to open TCP server sockets. 940 // Enables WebRTC to open TCP server sockets.
937 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; 941 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket";
938 942
939 // Enables VP8 HW encode acceleration for WebRTC. 943 // Enables VP8 HW encode acceleration for WebRTC.
940 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; 944 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding";
941 #endif 945 #endif
942 946
943 #if defined(OS_ANDROID) 947 #if defined(OS_ANDROID)
944 // Disable user gesture requirement for the media element to enter fullscreen. 948 // Disable user gesture requirement for the media element to enter fullscreen.
945 const char kDisableGestureRequirementForMediaFullscreen[] = 949 const char kDisableGestureRequirementForMediaFullscreen[] =
946 "disable-gesture-requirement-for-media-fullscreen"; 950 "disable-gesture-requirement-for-media-fullscreen";
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
990 #endif 994 #endif
991 995
992 #if defined(OS_POSIX) 996 #if defined(OS_POSIX)
993 // Causes the child processes to cleanly exit via calling exit(). 997 // Causes the child processes to cleanly exit via calling exit().
994 const char kChildCleanExit[] = "child-clean-exit"; 998 const char kChildCleanExit[] = "child-clean-exit";
995 #endif 999 #endif
996 1000
997 // Don't dump stuff here, follow the same order as the header. 1001 // Don't dump stuff here, follow the same order as the header.
998 1002
999 } // namespace switches 1003 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698