| 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 MEDIA_EXPORT extern const char kEnableNewVp9CodecString[]; |
| 28 |
| 27 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 28 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 30 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
| 29 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 31 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
| 30 #endif | 32 #endif |
| 31 | 33 |
| 32 #if defined(OS_WIN) | 34 #if defined(OS_WIN) |
| 33 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 35 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
| 34 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; | 36 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[]; |
| 35 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 37 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
| 36 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; | 38 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[]; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; | 99 MEDIA_EXPORT extern const base::Feature kMemoryPressureBasedSourceBufferGC; |
| 98 | 100 |
| 99 #if defined(OS_ANDROID) | 101 #if defined(OS_ANDROID) |
| 100 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; | 102 MEDIA_EXPORT extern const base::Feature kAndroidMediaPlayerRenderer; |
| 101 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; | 103 MEDIA_EXPORT extern const base::Feature kVideoFullscreenOrientationLock; |
| 102 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; | 104 MEDIA_EXPORT extern const base::Feature kMediaDrmPersistentLicense; |
| 103 #endif // defined(OS_ANDROID) | 105 #endif // defined(OS_ANDROID) |
| 104 } // namespace media | 106 } // namespace media |
| 105 | 107 |
| 106 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 108 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |