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 kForceMediaFoundationVideoCapture[]; | 38 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
44 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 39 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
45 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 40 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
46 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 41 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
47 #endif | 42 #endif |
48 | 43 |
49 #if defined(USE_CRAS) | 44 #if defined(USE_CRAS) |
50 MEDIA_EXPORT extern const char kUseCras[]; | 45 MEDIA_EXPORT extern const char kUseCras[]; |
(...skipping 19 matching lines...) Expand all Loading... |
70 | 65 |
71 namespace media { | 66 namespace media { |
72 | 67 |
73 // All features in alphabetical order. The features should be documented | 68 // All features in alphabetical order. The features should be documented |
74 // alongside the definition of their values in the .cc file. | 69 // alongside the definition of their values in the .cc file. |
75 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 70 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
76 | 71 |
77 } // namespace media | 72 } // namespace media |
78 | 73 |
79 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 74 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |