Chromium Code Reviews| 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 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 15 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
|
scherkus (not reviewing)
2013/05/31 19:30:35
what's up with the big diff? alphabetizing?
DaleCurtis
2013/06/03 19:51:10
Yeah, this has bugged me for a long time :)
| |
| 16 extern const char kAlsaOutputDevice[]; | 16 |
| 17 extern const char kAlsaInputDevice[]; | 17 MEDIA_EXPORT extern const char kDisableEncryptedMedia[]; |
| 18 | |
| 19 MEDIA_EXPORT extern const char kEnableEac3Playback[]; | |
| 20 | |
| 21 MEDIA_EXPORT extern const char kEnableOpusPlayback[]; | |
| 22 | |
| 23 MEDIA_EXPORT extern const char kEnableVp8AlphaPlayback[]; | |
| 24 | |
| 25 MEDIA_EXPORT extern const char kEnableVp9Playback[]; | |
| 26 | |
| 27 MEDIA_EXPORT extern const char kVideoThreads[]; | |
| 28 | |
| 29 #if defined(GOOGLE_TV) | |
| 30 MEDIA_EXPORT extern const char kUseExternalVideoSurfaceThresholdInPixels[]; | |
| 18 #endif | 31 #endif |
| 19 | 32 |
| 20 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 33 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
| 34 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | |
| 35 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | |
| 36 #endif | |
| 37 | |
| 38 #if defined(OS_MACOSX) | |
| 39 MEDIA_EXPORT extern const char kDisableMainThreadAudio[]; | |
| 40 #endif | |
| 41 | |
| 42 #if defined(OS_WIN) | |
| 43 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | |
| 44 MEDIA_EXPORT extern const char kForceWaveAudio[]; | |
| 45 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | |
| 46 #endif | |
| 21 | 47 |
| 22 #if defined(USE_CRAS) | 48 #if defined(USE_CRAS) |
| 23 MEDIA_EXPORT extern const char kUseCras[]; | 49 MEDIA_EXPORT extern const char kUseCras[]; |
| 24 #endif | 50 #endif |
| 25 | 51 |
| 26 #if defined(OS_WIN) | |
| 27 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | |
| 28 MEDIA_EXPORT extern const char kForceWaveAudio[]; | |
| 29 #endif | |
| 30 | |
| 31 MEDIA_EXPORT extern const char kVideoThreads[]; | |
| 32 | |
| 33 MEDIA_EXPORT extern const char kDisableEncryptedMedia[]; | |
| 34 | |
| 35 MEDIA_EXPORT extern const char kEnableOpusPlayback[]; | |
| 36 | |
| 37 MEDIA_EXPORT extern const char kEnableVp9Playback[]; | |
| 38 | |
| 39 MEDIA_EXPORT extern const char kEnableVp8AlphaPlayback[]; | |
| 40 | |
| 41 MEDIA_EXPORT extern const char kEnableEac3Playback[]; | |
| 42 | |
| 43 #if defined(OS_WIN) | |
| 44 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | |
| 45 #endif | |
| 46 | |
| 47 #if defined(GOOGLE_TV) | |
| 48 MEDIA_EXPORT extern const char kUseExternalVideoSurfaceThresholdInPixels[]; | |
| 49 #endif | |
| 50 | |
| 51 } // namespace switches | 52 } // namespace switches |
| 52 | 53 |
| 53 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 54 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
| OLD | NEW |