OLD | NEW |
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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "media/base/media_switches.h" | 6 #include "media/base/media_switches.h" |
7 #include "ppapi/features/features.h" | 7 #include "ppapi/features/features.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; | 93 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; |
94 | 94 |
95 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat | 95 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat |
96 // the bits as if they came from the microphone, which means you should disable | 96 // the bits as if they came from the microphone, which means you should disable |
97 // audio processing (lest your audio file will play back distorted). The input | 97 // audio processing (lest your audio file will play back distorted). The input |
98 // file is converted to suit Chrome's audio buses if necessary, so most sane | 98 // file is converted to suit Chrome's audio buses if necessary, so most sane |
99 // .wav files should work. You can pass either <path> to play the file looping | 99 // .wav files should work. You can pass either <path> to play the file looping |
100 // or <path>%noloop to stop after playing the file to completion. | 100 // or <path>%noloop to stop after playing the file to completion. |
101 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; | 101 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; |
102 | 102 |
103 // Use fake device for accelerated decoding of JPEG. This allows, for example, | |
104 // testing of the communication to the GPU service without requiring actual | |
105 // accelerator hardware to be present. | |
106 const char kUseFakeJpegDecodeAccelerator[] = "use-fake-jpeg-decode-accelerator"; | |
107 | |
108 // Enables support for inband text tracks in media content. | 103 // Enables support for inband text tracks in media content. |
109 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; | 104 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |
110 | 105 |
111 // When running tests on a system without the required hardware or libraries, | 106 // When running tests on a system without the required hardware or libraries, |
112 // this flag will cause the tests to fail. Otherwise, they silently succeed. | 107 // this flag will cause the tests to fail. Otherwise, they silently succeed. |
113 const char kRequireAudioHardwareForTesting[] = | 108 const char kRequireAudioHardwareForTesting[] = |
114 "require-audio-hardware-for-testing"; | 109 "require-audio-hardware-for-testing"; |
115 | 110 |
116 // Allows clients to override the threshold for when the media renderer will | 111 // Allows clients to override the threshold for when the media renderer will |
117 // declare the underflow state for the video stream when audio is present. | 112 // declare the underflow state for the video stream when audio is present. |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 204 |
210 // An experimental feature to enable persistent-license type support in MediaDrm | 205 // An experimental feature to enable persistent-license type support in MediaDrm |
211 // when using Encrypted Media Extensions (EME) API. | 206 // when using Encrypted Media Extensions (EME) API. |
212 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 | 207 // TODO(xhwang): Remove this after feature launch. See http://crbug.com/493521 |
213 const base::Feature kMediaDrmPersistentLicense{ | 208 const base::Feature kMediaDrmPersistentLicense{ |
214 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; | 209 "MediaDrmPersistentLicense", base::FEATURE_DISABLED_BY_DEFAULT}; |
215 | 210 |
216 #endif | 211 #endif |
217 | 212 |
218 } // namespace media | 213 } // namespace media |
OLD | NEW |