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 "base/feature_list.h" | 10 #include "base/feature_list.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "media/base/media_export.h" | 12 #include "media/base/media_export.h" |
13 | 13 |
14 namespace switches { | 14 namespace switches { |
15 | 15 |
16 MEDIA_EXPORT extern const char kAudioBufferSize[]; | 16 MEDIA_EXPORT extern const char kAudioBufferSize[]; |
17 | 17 |
18 MEDIA_EXPORT extern const char kVideoThreads[]; | 18 MEDIA_EXPORT extern const char kVideoThreads[]; |
19 | 19 |
20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; | 20 MEDIA_EXPORT extern const char kEnableMediaSuspend[]; |
21 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; | 21 MEDIA_EXPORT extern const char kDisableMediaSuspend[]; |
22 | 22 |
23 #if defined(OS_ANDROID) | 23 #if defined(OS_ANDROID) |
24 MEDIA_EXPORT extern const char kDisableMediaThreadForMediaPlayback[]; | 24 MEDIA_EXPORT extern const char kDisableMediaThreadForMediaPlayback[]; |
25 MEDIA_EXPORT extern const char kDisableUnifiedMediaPipeline[]; | |
26 MEDIA_EXPORT extern const char kEnableMediaThreadForMediaPlayback[]; | 25 MEDIA_EXPORT extern const char kEnableMediaThreadForMediaPlayback[]; |
| 26 MEDIA_EXPORT extern const char kEnableUnifiedMediaPipeline[]; |
27 #endif | 27 #endif |
28 | 28 |
29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 29 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
30 MEDIA_EXPORT extern const char kAlsaInputDevice[]; | 30 MEDIA_EXPORT extern const char kAlsaInputDevice[]; |
31 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; | 31 MEDIA_EXPORT extern const char kAlsaOutputDevice[]; |
32 #endif | 32 #endif |
33 | 33 |
34 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; | 34 MEDIA_EXPORT extern const char kUseGpuMemoryBuffersForCapture[]; |
35 | 35 |
36 #if defined(OS_WIN) | 36 #if defined(OS_WIN) |
(...skipping 28 matching lines...) Expand all Loading... |
65 | 65 |
66 namespace media { | 66 namespace media { |
67 | 67 |
68 // All features in alphabetical order. The features should be documented | 68 // All features in alphabetical order. The features should be documented |
69 // alongside the definition of their values in the .cc file. | 69 // alongside the definition of their values in the .cc file. |
70 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; | 70 MEDIA_EXPORT extern const base::Feature kUseNewMediaCache; |
71 | 71 |
72 } // namespace media | 72 } // namespace media |
73 | 73 |
74 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ | 74 #endif // MEDIA_BASE_MEDIA_SWITCHES_H_ |
OLD | NEW |