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 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
16 extern const char kAlsaOutputDevice[]; | 16 extern const char kAlsaOutputDevice[]; |
17 extern const char kAlsaInputDevice[]; | 17 extern const char kAlsaInputDevice[]; |
18 #endif | 18 #endif |
19 | 19 |
20 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 20 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
21 | 21 |
22 #if defined(USE_CRAS) | 22 #if defined(USE_CRAS) |
23 MEDIA_EXPORT extern const char kUseCras[]; | 23 MEDIA_EXPORT extern const char kUseCras[]; |
24 #endif | 24 #endif |
25 | 25 |
26 #if defined(USE_PULSEAUDIO) | |
27 MEDIA_EXPORT extern const char kUsePulseAudio[]; | |
28 #endif | |
29 | |
30 #if defined(OS_WIN) | 26 #if defined(OS_WIN) |
31 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; | 27 MEDIA_EXPORT extern const char kEnableExclusiveAudio[]; |
32 #endif | 28 #endif |
33 | 29 |
34 MEDIA_EXPORT extern const char kDisableAudioFallback[]; | 30 MEDIA_EXPORT extern const char kDisableAudioFallback[]; |
35 | 31 |
36 MEDIA_EXPORT extern const char kDisableAudioOutputResampler[]; | 32 MEDIA_EXPORT extern const char kDisableAudioOutputResampler[]; |
37 | 33 |
38 MEDIA_EXPORT extern const char kDisableRendererSideMixing[]; | 34 MEDIA_EXPORT extern const char kDisableRendererSideMixing[]; |
39 | 35 |
40 MEDIA_EXPORT extern const char kEnableAudioMixer[]; | 36 MEDIA_EXPORT extern const char kEnableAudioMixer[]; |
41 | 37 |
42 MEDIA_EXPORT extern const char kVideoThreads[]; | 38 MEDIA_EXPORT extern const char kVideoThreads[]; |
43 | 39 |
44 MEDIA_EXPORT extern const char kDisableEncryptedMedia[]; | 40 MEDIA_EXPORT extern const char kDisableEncryptedMedia[]; |
45 | 41 |
46 MEDIA_EXPORT extern const char kEnableOpusPlayback[]; | 42 MEDIA_EXPORT extern const char kEnableOpusPlayback[]; |
47 | 43 |
48 MEDIA_EXPORT extern const char kEnableVp9Playback[]; | 44 MEDIA_EXPORT extern const char kEnableVp9Playback[]; |
49 | 45 |
50 #if defined(OS_WIN) | 46 #if defined(OS_WIN) |
51 MEDIA_EXPORT extern const char kWaveOutBuffers[]; | 47 MEDIA_EXPORT extern const char kWaveOutBuffers[]; |
52 #endif | 48 #endif |
53 | 49 |
54 } // namespace switches | 50 } // namespace switches |
55 | 51 |
56 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 52 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |