| 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" |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
| 13 #include "media/media_features.h" | 13 #include "media/media_features.h" |
| 14 #include "ppapi/features/features.h" | 14 #include "ppapi/features/features.h" |
| 15 | 15 |
| 16 namespace switches { | 16 namespace switches { |
| 17 | 17 |
| 18 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 18 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
| 19 | 19 |
| 20 MEDIA_EXPORT extern const char kVideoThreads[]; | 20 MEDIA_EXPORT extern const char kVideoThreads[]; |
| 21 | 21 |
| 22 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; | 22 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; |
| 23 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; | 23 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; |
| 24 | 24 |
| 25 MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[]; | 25 MEDIA_EXPORT extern const char kReportVp9AsAnUnsupportedMimeType[]; |
| 26 | 26 |
| 27 #if defined(OS_ANDROID) | |
| 28 MEDIA_EXPORT extern const char kDisableUnifiedMediaPipeline[]; | |
| 29 #endif | |
| 30 | |
| 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_WIN) | 32 #if defined(OS_WIN) |
| 37 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 33 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
| 38 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; | 34 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
| 39 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 35 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
| 40 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 36 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; | 96 MEDIA_EXPORT extern const base::Feature kBackgroundVideoTrackOptimization; |
| 101 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; | 97 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; |
| 102 | 98 |
| 103 #if defined(OS_ANDROID) | 99 #if defined(OS_ANDROID) |
| 104 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; | 100 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; |
| 105 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; | 101 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; |
| 106 #endif // defined(OS_ANDROID) | 102 #endif // defined(OS_ANDROID) |
| 107 } // namespace media | 103 } // namespace media |
| 108 | 104 |
| 109 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 105 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |