Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: media/base/media_switches.cc

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/capture/video/win/video_capture_device_win.cc ('k') | media/capture/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "media/base/media_switches.h" 6 #include "media/base/media_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // Allow users to specify a custom buffer size for debugging purpose. 10 // Allow users to specify a custom buffer size for debugging purpose.
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 // Use a media session for each tabs in a way that two tabs can't play on top of 86 // Use a media session for each tabs in a way that two tabs can't play on top of
87 // each other. This is different from the Media Session API as it is enabling a 87 // each other. This is different from the Media Session API as it is enabling a
88 // default behaviour for the browser. 88 // default behaviour for the browser.
89 const char kEnableDefaultMediaSession[] = "enable-default-media-session"; 89 const char kEnableDefaultMediaSession[] = "enable-default-media-session";
90 #endif 90 #endif
91 91
92 // Use fake device for Media Stream to replace actual camera and microphone. 92 // Use fake device for Media Stream to replace actual camera and microphone.
93 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 93 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
94 94
95 // Use an .y4m file to play as the webcam. See the comments in 95 // Use an .y4m file to play as the webcam. See the comments in
96 // media/capture/video/file_video_capture_device.h for more details. 96 // device/capture/video/file_video_capture_device.h for more details.
97 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; 97 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture";
98 98
99 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat 99 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat
100 // the bits as if they came from the microphone, which means you should disable 100 // the bits as if they came from the microphone, which means you should disable
101 // audio processing (lest your audio file will play back distorted). The input 101 // audio processing (lest your audio file will play back distorted). The input
102 // file is converted to suit Chrome's audio buses if necessary, so most sane 102 // file is converted to suit Chrome's audio buses if necessary, so most sane
103 // .wav files should work. You can pass either <path> to play the file looping 103 // .wav files should work. You can pass either <path> to play the file looping
104 // or <path>%noloop to stop after playing the file to completion. 104 // or <path>%noloop to stop after playing the file to completion.
105 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; 105 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture";
106 106
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 // Use new audio rendering mixer. 148 // Use new audio rendering mixer.
149 const base::Feature kNewAudioRenderingMixingStrategy{ 149 const base::Feature kNewAudioRenderingMixingStrategy{
150 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; 150 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT};
151 151
152 // Use shared block-based buffering for media. 152 // Use shared block-based buffering for media.
153 const base::Feature kUseNewMediaCache{"use-new-media-cache", 153 const base::Feature kUseNewMediaCache{"use-new-media-cache",
154 base::FEATURE_ENABLED_BY_DEFAULT}; 154 base::FEATURE_ENABLED_BY_DEFAULT};
155 155
156 } // namespace media 156 } // namespace media
OLDNEW
« no previous file with comments | « device/capture/video/win/video_capture_device_win.cc ('k') | media/capture/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698