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 #include "media/base/media_switches.h" | 5 #include "media/base/media_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Allow users to specify a custom buffer size for debugging purpose. | 9 // Allow users to specify a custom buffer size for debugging purpose. |
10 const char kAudioBufferSize[] = "audio-buffer-size"; | 10 const char kAudioBufferSize[] = "audio-buffer-size"; |
(...skipping 16 matching lines...) Expand all Loading... |
27 #if defined(OS_ANDROID) | 27 #if defined(OS_ANDROID) |
28 // Disables the infobar popup for accessing protected media identifier. | 28 // Disables the infobar popup for accessing protected media identifier. |
29 const char kDisableInfobarForProtectedMediaIdentifier[] = | 29 const char kDisableInfobarForProtectedMediaIdentifier[] = |
30 "disable-infobar-for-protected-media-identifier"; | 30 "disable-infobar-for-protected-media-identifier"; |
31 | 31 |
32 // Enables use of non-compositing MediaDrm decoding by default for Encrypted | 32 // Enables use of non-compositing MediaDrm decoding by default for Encrypted |
33 // Media Extensions implementation. | 33 // Media Extensions implementation. |
34 const char kMediaDrmEnableNonCompositing[] = "mediadrm-enable-non-compositing"; | 34 const char kMediaDrmEnableNonCompositing[] = "mediadrm-enable-non-compositing"; |
35 #endif | 35 #endif |
36 | 36 |
37 #if defined(GOOGLE_TV) | |
38 // Use external video surface for video with more than or equal pixels to | |
39 // specified value. For example, value of 0 will enable external video surface | |
40 // for all videos, and value of 921600 (=1280*720) will enable external video | |
41 // surface for 720p video and larger. | |
42 const char kUseExternalVideoSurfaceThresholdInPixels[] = | |
43 "use-external-video-surface-threshold-in-pixels"; | |
44 #endif | |
45 | |
46 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) | 37 #if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_SOLARIS) |
47 // The Alsa device to use when opening an audio input stream. | 38 // The Alsa device to use when opening an audio input stream. |
48 const char kAlsaInputDevice[] = "alsa-input-device"; | 39 const char kAlsaInputDevice[] = "alsa-input-device"; |
49 // The Alsa device to use when opening an audio stream. | 40 // The Alsa device to use when opening an audio stream. |
50 const char kAlsaOutputDevice[] = "alsa-output-device"; | 41 const char kAlsaOutputDevice[] = "alsa-output-device"; |
51 #endif | 42 #endif |
52 | 43 |
53 #if defined(OS_MACOSX) | 44 #if defined(OS_MACOSX) |
54 // Unlike other platforms, OSX requires CoreAudio calls to happen on the main | 45 // Unlike other platforms, OSX requires CoreAudio calls to happen on the main |
55 // thread of the process. Provide a way to disable this until support is well | 46 // thread of the process. Provide a way to disable this until support is well |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const char kUseCras[] = "use-cras"; | 89 const char kUseCras[] = "use-cras"; |
99 #endif | 90 #endif |
100 | 91 |
101 // Disables system sounds manager. | 92 // Disables system sounds manager. |
102 const char kDisableSystemSoundsManager[] = "disable-system-sounds-manager"; | 93 const char kDisableSystemSoundsManager[] = "disable-system-sounds-manager"; |
103 | 94 |
104 // Use a raw video file as fake video capture device. | 95 // Use a raw video file as fake video capture device. |
105 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; | 96 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; |
106 | 97 |
107 } // namespace switches | 98 } // namespace switches |
OLD | NEW |