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 "media/base/media_switches.h" | 5 #include "media/base/media_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Allow users to specify a custom buffer size for debugging purpose. | 9 // Allow users to specify a custom buffer size for debugging purpose. |
10 const char kAudioBufferSize[] = "audio-buffer-size"; | 10 const char kAudioBufferSize[] = "audio-buffer-size"; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; | 103 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; |
104 | 104 |
105 // Enables support for inband text tracks in media content. | 105 // Enables support for inband text tracks in media content. |
106 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; | 106 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |
107 | 107 |
108 // When running tests on a system without the required hardware or libraries, | 108 // When running tests on a system without the required hardware or libraries, |
109 // this flag will cause the tests to fail. Otherwise, they silently succeed. | 109 // this flag will cause the tests to fail. Otherwise, they silently succeed. |
110 const char kRequireAudioHardwareForTesting[] = | 110 const char kRequireAudioHardwareForTesting[] = |
111 "require-audio-hardware-for-testing"; | 111 "require-audio-hardware-for-testing"; |
112 | 112 |
| 113 // Allows clients to override the threshold for when the media renderer will |
| 114 // declare the underflow state for the video stream when audio is present. |
| 115 // TODO(dalecurtis): Remove once experiments for http://crbug.com/470940 finish. |
| 116 const char kVideoUnderflowThresholdMs[] = "video-underflow-threshold-ms"; |
| 117 |
113 } // namespace switches | 118 } // namespace switches |
OLD | NEW |