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 kVideoThreads[]; | 17 MEDIA_EXPORT extern const char kVideoThreads[]; |
18 | 18 |
19 MEDIA_EXPORT extern const char | |
20 kIgnoreResolutionLimitsForAcceleratedVideoDecode[]; | |
21 | |
22 #if defined(OS_ANDROID) | 19 #if defined(OS_ANDROID) |
23 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[]; | 20 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[]; |
24 #endif | 21 #endif |
25 | 22 |
26 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 23 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
27 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 24 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
28 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 25 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
29 #endif | 26 #endif |
30 | 27 |
31 #if defined(OS_MACOSX) | 28 #if defined(OS_MACOSX) |
(...skipping 20 matching lines...) Expand all Loading... |
52 | 49 |
53 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; | 50 MEDIA_EXPORT extern const char kEnableInbandTextTracks[]; |
54 | 51 |
55 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; | 52 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[]; |
56 | 53 |
57 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; | 54 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[]; |
58 | 55 |
59 } // namespace switches | 56 } // namespace switches |
60 | 57 |
61 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 58 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |