| 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 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // Allow users to specify a custom buffer size for debugging purpose. | 10 // Allow users to specify a custom buffer size for debugging purpose. |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 const char kDisableUnifiedMediaPipeline[] = "disable-unified-media-pipeline"; | 27 const char kDisableUnifiedMediaPipeline[] = "disable-unified-media-pipeline"; |
| 28 #endif | 28 #endif |
| 29 | 29 |
| 30 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 30 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 31 // The Alsa device to use when opening an audio input stream. | 31 // The Alsa device to use when opening an audio input stream. |
| 32 const char kAlsaInputDevice[] = "alsa-input-device"; | 32 const char kAlsaInputDevice[] = "alsa-input-device"; |
| 33 // The Alsa device to use when opening an audio stream. | 33 // The Alsa device to use when opening an audio stream. |
| 34 const char kAlsaOutputDevice[] = "alsa-output-device"; | 34 const char kAlsaOutputDevice[] = "alsa-output-device"; |
| 35 #endif | 35 #endif |
| 36 | 36 |
| 37 // Use GpuMemoryBuffers for Video Capture when this is an option for the device. | |
| 38 // Experimental, see http://crbug.com/503835 and http://crbug.com/440843. | |
| 39 const char kUseGpuMemoryBuffersForCapture[] = | |
| 40 "use-gpu-memory-buffers-for-capture"; | |
| 41 | |
| 42 #if defined(OS_WIN) | 37 #if defined(OS_WIN) |
| 43 // Use exclusive mode audio streaming for Windows Vista and higher. | 38 // Use exclusive mode audio streaming for Windows Vista and higher. |
| 44 // Leads to lower latencies for audio streams which uses the | 39 // Leads to lower latencies for audio streams which uses the |
| 45 // AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. | 40 // AudioParameters::AUDIO_PCM_LOW_LATENCY audio path. |
| 46 // See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844.aspx | 41 // See http://msdn.microsoft.com/en-us/library/windows/desktop/dd370844.aspx |
| 47 // for details. | 42 // for details. |
| 48 const char kEnableExclusiveAudio[] = "enable-exclusive-audio"; | 43 const char kEnableExclusiveAudio[] = "enable-exclusive-audio"; |
| 49 | 44 |
| 50 // Force the use of MediaFoundation for video capture. This is only supported in | 45 // Force the use of MediaFoundation for video capture. This is only supported in |
| 51 // Windows 7 and above. Used, like |kForceDirectShowVideoCapture|, to | 46 // Windows 7 and above. Used, like |kForceDirectShowVideoCapture|, to |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 const base::Feature kVideoColorManagement{"video-color-management", | 162 const base::Feature kVideoColorManagement{"video-color-management", |
| 168 base::FEATURE_DISABLED_BY_DEFAULT}; | 163 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 169 | 164 |
| 170 // Enables support for External Clear Key (ECK) key system for testing on | 165 // Enables support for External Clear Key (ECK) key system for testing on |
| 171 // supported platforms. On platforms that do not support ECK, this feature has | 166 // supported platforms. On platforms that do not support ECK, this feature has |
| 172 // no effect. | 167 // no effect. |
| 173 const base::Feature kExternalClearKeyForTesting{ | 168 const base::Feature kExternalClearKeyForTesting{ |
| 174 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; | 169 "external-clear-key-for-testing", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 175 | 170 |
| 176 } // namespace media | 171 } // namespace media |
| OLD | NEW |