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

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 Henrik's comment. 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 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 // Causes the process to run as a worker subprocess. 906 // Causes the process to run as a worker subprocess.
907 const char kWorkerProcess[] = "worker"; 907 const char kWorkerProcess[] = "worker";
908 908
909 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 909 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
910 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 910 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
911 911
912 // Causes the process to run as a renderer zygote. 912 // Causes the process to run as a renderer zygote.
913 const char kZygoteProcess[] = "zygote"; 913 const char kZygoteProcess[] = "zygote";
914 914
915 #if defined(ENABLE_WEBRTC) 915 #if defined(ENABLE_WEBRTC)
916 // Disable WebRTC device enumeration. 916 // Enables WebRtc audio processor in Chrome. When this flag is on, it will
perkj_chrome 2013/11/04 12:30:14 Enables audio processing in a MediaStreamTrack ? W
no longer working on chromium 2013/11/04 15:28:17 Done.
917 // disable the audio processing module in WebRtc.
918 const char kEnableWebRtcAudioProcessor[] = "enable-audio-processor";
919
920 // Disables WebRTC device enumeration.
917 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; 921 const char kDisableDeviceEnumeration[] = "disable-device-enumeration";
918 922
919 // Disable WebRTC DataChannels SCTP wire protocol support. 923 // Disables WebRTC DataChannels SCTP wire protocol support.
920 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; 924 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels";
921 925
922 // Disables HW decode acceleration for WebRTC. 926 // Disables HW decode acceleration for WebRTC.
923 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 927 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
924 928
925 // Disables HW encode acceleration for WebRTC. 929 // Disables HW encode acceleration for WebRTC.
926 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 930 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
927 931
928 // Enables WebRTC AEC recordings. 932 // Enables WebRTC AEC recordings.
929 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; 933 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings";
930 934
931 // Enable WebRTC to open TCP server sockets. 935 // Enables WebRTC to open TCP server sockets.
932 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; 936 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket";
933 937
934 // Enables VP8 HW encode acceleration for WebRTC. 938 // Enables VP8 HW encode acceleration for WebRTC.
935 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; 939 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding";
936 #endif 940 #endif
937 941
938 #if defined(OS_ANDROID) 942 #if defined(OS_ANDROID)
939 // Disable user gesture requirement for the media element to enter fullscreen. 943 // Disable user gesture requirement for the media element to enter fullscreen.
940 const char kDisableGestureRequirementForMediaFullscreen[] = 944 const char kDisableGestureRequirementForMediaFullscreen[] =
941 "disable-gesture-requirement-for-media-fullscreen"; 945 "disable-gesture-requirement-for-media-fullscreen";
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 #endif 989 #endif
986 990
987 #if defined(OS_POSIX) 991 #if defined(OS_POSIX)
988 // Causes the child processes to cleanly exit via calling exit(). 992 // Causes the child processes to cleanly exit via calling exit().
989 const char kChildCleanExit[] = "child-clean-exit"; 993 const char kChildCleanExit[] = "child-clean-exit";
990 #endif 994 #endif
991 995
992 // Don't dump stuff here, follow the same order as the header. 996 // Don't dump stuff here, follow the same order as the header.
993 997
994 } // namespace switches 998 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698