| 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 // Defines all the "media" command-line switches. | 5 // Defines all the "media" command-line switches. |
| 6 | 6 |
| 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ | 7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_ |
| 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ | 8 #define MEDIA_BASE_MEDIA_SWITCHES_H_ |
| 9 | 9 |
| 10 #include "base/feature_list.h" | 10 #include "base/feature_list.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 31 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 32 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 32 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
| 33 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 33 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
| 34 #endif | 34 #endif |
| 35 | 35 |
| 36 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; | 36 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; |
| 37 | 37 |
| 38 #if defined(OS_WIN) | 38 #if defined(OS_WIN) |
| 39 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 39 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
| 40 MEDIA_EXPORT extern const char kEnableWinHWH264Encoding[]; |
| 40 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; | 41 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
| 41 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 42 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
| 42 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 43 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
| 43 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 44 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
| 44 #endif | 45 #endif |
| 45 | 46 |
| 46 #if defined(USE_CRAS) | 47 #if defined(USE_CRAS) |
| 47 MEDIA_EXPORT extern const char kUseCras[]; | 48 MEDIA_EXPORT extern const char kUseCras[]; |
| 48 #endif | 49 #endif |
| 49 | 50 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 69 | 70 |
| 70 namespace media { | 71 namespace media { |
| 71 | 72 |
| 72 // All features in alphabetical order. The features should be documented | 73 // All features in alphabetical order. The features should be documented |
| 73 // alongside the definition of their values in the .cc file. | 74 // alongside the definition of their values in the .cc file. |
| 74 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 75 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
| 75 | 76 |
| 76 } // namespace media | 77 } // namespace media |
| 77 | 78 |
| 78 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 79 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |