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 "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 MEDIA_EXPORT extern const char kVideoThreads[]; | 23 MEDIA_EXPORT extern const char kVideoThreads[]; |
24 | 24 |
25 MEDIA_EXPORT extern const char kEnableMP3StreamParser[]; | 25 MEDIA_EXPORT extern const char kEnableMP3StreamParser[]; |
26 | 26 |
27 #if defined(OS_ANDROID) | 27 #if defined(OS_ANDROID) |
28 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[]; | 28 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[]; |
29 MEDIA_EXPORT extern const char kMediaDrmEnableNonCompositing[]; | 29 MEDIA_EXPORT extern const char kMediaDrmEnableNonCompositing[]; |
30 #endif | 30 #endif |
31 | 31 |
32 #if defined(GOOGLE_TV) | |
33 MEDIA_EXPORT extern const char kUseExternalVideoSurfaceThresholdInPixels[]; | |
34 #endif | |
35 | |
36 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 32 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
37 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 33 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
38 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 34 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
39 #endif | 35 #endif |
40 | 36 |
41 #if defined(OS_MACOSX) | 37 #if defined(OS_MACOSX) |
42 MEDIA_EXPORT extern const char kDisableMainThreadAudio[]; | 38 MEDIA_EXPORT extern const char kDisableMainThreadAudio[]; |
43 MEDIA_EXPORT extern const char kEnableAVFoundation[]; | 39 MEDIA_EXPORT extern const char kEnableAVFoundation[]; |
44 #endif | 40 #endif |
45 | 41 |
46 #if defined(OS_WIN) | 42 #if defined(OS_WIN) |
47 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 43 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
48 MEDIA_EXPORT extern const char kForceDirectShowVideoCapture[]; | 44 MEDIA_EXPORT extern const char kForceDirectShowVideoCapture[]; |
49 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 45 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
50 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 46 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
51 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 47 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
52 #endif | 48 #endif |
53 | 49 |
54 #if defined(USE_CRAS) | 50 #if defined(USE_CRAS) |
55 MEDIA_EXPORT extern const char kUseCras[]; | 51 MEDIA_EXPORT extern const char kUseCras[]; |
56 #endif | 52 #endif |
57 | 53 |
58 MEDIA_EXPORT extern const char kDisableSystemSoundsManager[]; | 54 MEDIA_EXPORT extern const char kDisableSystemSoundsManager[]; |
59 | 55 |
60 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; | 56 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; |
61 | 57 |
62 } // namespace switches | 58 } // namespace switches |
63 | 59 |
64 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 60 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |