Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / media / base / media_switches.h
blob3787137f672b19adb385bed8c88db8ef6c77332a
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.
5 // Defines all the "media" command-line switches.
7 #ifndef MEDIA_BASE_MEDIA_SWITCHES_H_
8 #define MEDIA_BASE_MEDIA_SWITCHES_H_
10 #include "build/build_config.h"
11 #include "media/base/media_export.h"
13 namespace switches {
15 MEDIA_EXPORT extern const char kAudioBufferSize[];
17 MEDIA_EXPORT extern const char kVideoThreads[];
19 #if defined(OS_ANDROID)
20 MEDIA_EXPORT extern const char kEnableMediaThreadForMediaPlayback[];
21 #endif
23 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS)
24 MEDIA_EXPORT extern const char kAlsaInputDevice[];
25 MEDIA_EXPORT extern const char kAlsaOutputDevice[];
26 #endif
28 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[];
30 #if defined(OS_MACOSX)
31 MEDIA_EXPORT extern const char kEnableAVFoundation[];
32 MEDIA_EXPORT extern const char kForceQTKit[];
33 #endif
35 #if defined(OS_WIN)
36 MEDIA_EXPORT extern const char kEnableExclusiveAudio[];
37 MEDIA_EXPORT extern const char kForceDirectShowVideoCapture[];
38 MEDIA_EXPORT extern const char kForceMediaFoundationVideoCapture[];
39 MEDIA_EXPORT extern const char kForceWaveAudio[];
40 MEDIA_EXPORT extern const char kTrySupportedChannelLayouts[];
41 MEDIA_EXPORT extern const char kWaveOutBuffers[];
42 #endif
44 #if defined(USE_CRAS)
45 MEDIA_EXPORT extern const char kUseCras[];
46 #endif
48 MEDIA_EXPORT extern const char kEnableAudioHangMonitor[];
50 MEDIA_EXPORT extern const char kUseFakeDeviceForMediaStream[];
51 MEDIA_EXPORT extern const char kUseFileForFakeVideoCapture[];
52 MEDIA_EXPORT extern const char kUseFileForFakeAudioCapture[];
54 MEDIA_EXPORT extern const char kEnableInbandTextTracks[];
56 MEDIA_EXPORT extern const char kRequireAudioHardwareForTesting[];
58 MEDIA_EXPORT extern const char kVideoUnderflowThresholdMs[];
60 MEDIA_EXPORT extern const char kEnableRTCSmoothnessAlgorithm[];
62 } // namespace switches
64 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_