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 #if defined(OS_LINUX) | 20 #if defined(OS_LINUX) |
21 MEDIA_EXPORT extern const char kUseCras[]; | 21 MEDIA_EXPORT extern const char kUseCras[]; |
22 #endif | 22 #endif |
23 | 23 |
24 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 24 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
25 MEDIA_EXPORT extern const char kUsePulseAudio[]; | 25 MEDIA_EXPORT extern const char kUsePulseAudio[]; |
26 #endif | 26 #endif |
27 | 27 |
| 28 #if defined(OS_WIN) |
| 29 MEDIA_EXPORT extern const char kEnableExclusiveMode[]; |
| 30 #endif |
| 31 |
28 MEDIA_EXPORT extern const char kVideoThreads[]; | 32 MEDIA_EXPORT extern const char kVideoThreads[]; |
29 | 33 |
30 MEDIA_EXPORT extern const char kDisableAudioMixer[]; | 34 MEDIA_EXPORT extern const char kDisableAudioMixer[]; |
31 | 35 |
32 } // namespace switches | 36 } // namespace switches |
33 | 37 |
34 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 38 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |