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 15 matching lines...) Expand all Loading... |
26 MEDIA_EXPORT extern const char kEnableUnifiedMediaPipeline[]; | 26 MEDIA_EXPORT extern const char kEnableUnifiedMediaPipeline[]; |
27 #endif | 27 #endif |
28 | 28 |
29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
30 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 30 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
31 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 31 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
32 #endif | 32 #endif |
33 | 33 |
34 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; | 34 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; |
35 | 35 |
36 #if defined(OS_MACOSX) | |
37 MEDIA_EXPORT extern const char kEnableAVFoundation[]; | |
38 MEDIA_EXPORT extern const char kForceQTKit[]; | |
39 #endif | |
40 | |
41 #if defined(OS_WIN) | 36 #if defined(OS_WIN) |
42 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 37 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
43 MEDIA_EXPORT extern const char kForceDirectShowVideoCapture[]; | 38 MEDIA_EXPORT extern const char kForceDirectShowVideoCapture[]; |
44 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; | 39 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
45 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 40 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
46 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 41 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
47 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 42 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
48 #endif | 43 #endif |
49 | 44 |
50 #if defined(USE_CRAS) | 45 #if defined(USE_CRAS) |
(...skipping 16 matching lines...) Expand all Loading... |
67 | 62 |
68 namespace media { | 63 namespace media { |
69 | 64 |
70 // All features in alphabetical order. The features should be documented | 65 // All features in alphabetical order. The features should be documented |
71 // alongside the definition of their values in the .cc file. | 66 // alongside the definition of their values in the .cc file. |
72 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 67 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
73 | 68 |
74 } // namespace media | 69 } // namespace media |
75 | 70 |
76 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 71 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |