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

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: rebased with 77803004, and fixed the order of the methods. 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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 // Causes the process to run as a worker subprocess. 925 // Causes the process to run as a worker subprocess.
926 const char kWorkerProcess[] = "worker"; 926 const char kWorkerProcess[] = "worker";
927 927
928 // The prefix used when starting the zygote process. (i.e. 'gdb --args') 928 // The prefix used when starting the zygote process. (i.e. 'gdb --args')
929 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; 929 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix";
930 930
931 // Causes the process to run as a renderer zygote. 931 // Causes the process to run as a renderer zygote.
932 const char kZygoteProcess[] = "zygote"; 932 const char kZygoteProcess[] = "zygote";
933 933
934 #if defined(ENABLE_WEBRTC) 934 #if defined(ENABLE_WEBRTC)
935 // Disable WebRTC device enumeration. 935 // Enables audio processing in a MediaStreamTrack. When this flag is on, AEC,
936 // Ns and AGC will be done per MediaStreamTrack instead of in PeerConnection.
Henrik Grunell 2013/11/22 09:03:36 NS (capitals)
no longer working on chromium 2013/11/22 13:27:53 Done.
937 const char kEnableAudioTrackProcessing[] = "enable-audio-processor";
Henrik Grunell 2013/11/22 09:03:36 Why not "enable-audio-track-processing"? :) I thin
no longer working on chromium 2013/11/22 13:27:53 Done.
938
939 // Disables WebRTC device enumeration.
936 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; 940 const char kDisableDeviceEnumeration[] = "disable-device-enumeration";
937 941
938 // Disable WebRTC DataChannels SCTP wire protocol support. 942 // Disables WebRTC DataChannels SCTP wire protocol support.
939 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; 943 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels";
940 944
941 // Disables HW decode acceleration for WebRTC. 945 // Disables HW decode acceleration for WebRTC.
942 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; 946 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding";
943 947
944 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it 948 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it
945 // ignores this switch on its stable and beta channels. 949 // ignores this switch on its stable and beta channels.
946 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; 950 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption";
947 951
948 // Disables HW encode acceleration for WebRTC. 952 // Disables HW encode acceleration for WebRTC.
949 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; 953 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding";
950 954
951 // Enables WebRTC AEC recordings. 955 // Enables WebRTC AEC recordings.
952 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; 956 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings";
953 957
954 // Enable WebRTC to open TCP server sockets. 958 // Enables WebRTC to open TCP server sockets.
955 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; 959 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket";
956 960
957 // Enables VP8 HW encode acceleration for WebRTC. 961 // Enables VP8 HW encode acceleration for WebRTC.
958 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; 962 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding";
959 #endif 963 #endif
960 964
961 #if defined(OS_ANDROID) 965 #if defined(OS_ANDROID)
962 // Disable user gesture requirement for the media element to enter fullscreen. 966 // Disable user gesture requirement for the media element to enter fullscreen.
963 const char kDisableGestureRequirementForMediaFullscreen[] = 967 const char kDisableGestureRequirementForMediaFullscreen[] =
964 "disable-gesture-requirement-for-media-fullscreen"; 968 "disable-gesture-requirement-for-media-fullscreen";
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 #endif 1012 #endif
1009 1013
1010 #if defined(OS_POSIX) 1014 #if defined(OS_POSIX)
1011 // Causes the child processes to cleanly exit via calling exit(). 1015 // Causes the child processes to cleanly exit via calling exit().
1012 const char kChildCleanExit[] = "child-clean-exit"; 1016 const char kChildCleanExit[] = "child-clean-exit";
1013 #endif 1017 #endif
1014 1018
1015 // Don't dump stuff here, follow the same order as the header. 1019 // Don't dump stuff here, follow the same order as the header.
1016 1020
1017 } // namespace switches 1021 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698