| 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 kEnableEac3Playback[]; | 17 MEDIA_EXPORT extern const char kEnableEac3Playback[]; |
| 18 | 18 |
| 19 MEDIA_EXPORT extern const char kEnableOpusPlayback[]; | 19 MEDIA_EXPORT extern const char kEnableOpusPlayback[]; |
| 20 | 20 |
| 21 MEDIA_EXPORT extern const char kEnableVp8AlphaPlayback[]; | 21 MEDIA_EXPORT extern const char kEnableVp8AlphaPlayback[]; |
| 22 | 22 |
| 23 MEDIA_EXPORT extern const char kEnableVp9Playback[]; | |
| 24 | |
| 25 MEDIA_EXPORT extern const char kVideoThreads[]; | 23 MEDIA_EXPORT extern const char kVideoThreads[]; |
| 26 | 24 |
| 27 #if defined(GOOGLE_TV) | 25 #if defined(GOOGLE_TV) |
| 28 MEDIA_EXPORT extern const char kUseExternalVideoSurfaceThresholdInPixels[]; | 26 MEDIA_EXPORT extern const char kUseExternalVideoSurfaceThresholdInPixels[]; |
| 29 #endif | 27 #endif |
| 30 | 28 |
| 31 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 32 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 30 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
| 33 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 31 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
| 34 #endif | 32 #endif |
| 35 | 33 |
| 36 #if defined(OS_MACOSX) | 34 #if defined(OS_MACOSX) |
| 37 MEDIA_EXPORT extern const char kDisableMainThreadAudio[]; | 35 MEDIA_EXPORT extern const char kDisableMainThreadAudio[]; |
| 38 #endif | 36 #endif |
| 39 | 37 |
| 40 #if defined(OS_WIN) | 38 #if defined(OS_WIN) |
| 41 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 39 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
| 42 MEDIA_EXPORT extern const char kForceWaveAudio[]; | 40 MEDIA_EXPORT extern const char kForceWaveAudio[]; |
| 43 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 41 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
| 44 #endif | 42 #endif |
| 45 | 43 |
| 46 #if defined(USE_CRAS) | 44 #if defined(USE_CRAS) |
| 47 MEDIA_EXPORT extern const char kUseCras[]; | 45 MEDIA_EXPORT extern const char kUseCras[]; |
| 48 #endif | 46 #endif |
| 49 | 47 |
| 50 } // namespace switches | 48 } // namespace switches |
| 51 | 49 |
| 52 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 50 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |