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" |
11 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
12 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 15 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
16 | 16 |
17 MEDIA_EXPORT extern const char kDisableOpusPlayback[]; | |
18 | |
19 MEDIA_EXPORT extern const char kDisableVp8AlphaPlayback[]; | |
20 | |
21 MEDIA_EXPORT extern const char kVideoThreads[]; | 17 MEDIA_EXPORT extern const char kVideoThreads[]; |
22 | 18 |
23 MEDIA_EXPORT extern const char kEnableADTSStreamParser[]; | 19 MEDIA_EXPORT extern const char kEnableADTSStreamParser[]; |
24 MEDIA_EXPORT extern const char kEnableMP3StreamParser[]; | 20 MEDIA_EXPORT extern const char kEnableMP3StreamParser[]; |
25 | 21 |
26 #if defined(OS_ANDROID) | 22 #if defined(OS_ANDROID) |
27 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[]; | 23 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[]; |
28 MEDIA_EXPORT extern const char kMediaDrmEnableNonCompositing[]; | 24 MEDIA_EXPORT extern const char kMediaDrmEnableNonCompositing[]; |
29 #endif | 25 #endif |
30 | 26 |
31 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 27 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
32 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 28 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
33 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 29 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
34 #endif | 30 #endif |
35 | 31 |
36 #if defined(OS_MACOSX) | 32 #if defined(OS_MACOSX) |
37 MEDIA_EXPORT extern const char kDisableMainThreadAudio[]; | |
38 MEDIA_EXPORT extern const char kDisableAVFoundation[]; | 33 MEDIA_EXPORT extern const char kDisableAVFoundation[]; |
39 #endif | 34 #endif |
40 | 35 |
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) |
51 MEDIA_EXPORT extern const char kUseCras[]; | 46 MEDIA_EXPORT extern const char kUseCras[]; |
52 #endif | 47 #endif |
53 | 48 |
54 MEDIA_EXPORT extern const char kDisableSystemSoundsManager[]; | 49 MEDIA_EXPORT extern const char kDisableSystemSoundsManager[]; |
55 | 50 |
56 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; | 51 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[]; |
57 | 52 |
58 } // namespace switches | 53 } // namespace switches |
59 | 54 |
60 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 55 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |