Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / media / base / media_switches.h
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
3 // found in the LICENSE file.
4
5 // Defines all the "media" command-line switches.
6
7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_
8 #define MEDIA_BASE_MEDIA_SWITCHES_H_
9
10 #include "build/build_config.h"
11 #include "media/base/media_export.h"
12
13 namespace switches {
14
15 MEDIA_EXPORT extern const char kAudioBufferSize[];
16
17 MEDIA_EXPORT extern const char kVideoThreads[];
18
19 MEDIA_EXPORT extern const char kEnableADTSStreamParser[];
20
21 #if defined(OS_ANDROID)
22 MEDIA_EXPORT extern const char kDisableInfobarForProtectedMediaIdentifier[];
23 MEDIA_EXPORT extern const char kMediaDrmEnableNonCompositing[];
24 #endif
25
26 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
27 MEDIA_EXPORT extern const char kAlsaInputDevice[];
28 MEDIA_EXPORT extern const char kAlsaOutputDevice[];
29 #endif
30
31 #if defined(OS_MACOSX)
32 MEDIA_EXPORT extern const char kEnableAVFoundation[];
33 MEDIA_EXPORT extern const char kForceQTKit[];
34 #endif
35
36 #if defined(OS_WIN)
37 MEDIA_EXPORT extern const char kEnableExclusiveAudio[];
38 MEDIA_EXPORT extern const char kForceDirectShowVideoCapture[];
39 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[];
40 MEDIA_EXPORT extern const char kForceWaveAudio[];
41 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[];
42 MEDIA_EXPORT extern const char kWaveOutBuffers[];
43 #endif
44
45 #if defined(USE_CRAS)
46 MEDIA_EXPORT extern const char kUseCras[];
47 #endif
48
49 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[];
50
51 }  // namespace switches
52
53 #endif  // MEDIA_BASE_MEDIA_SWITCHES_H_