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