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

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

Issue 2143903003: [WIP] Move media/capture to device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « media/base/feedback_signal_accumulator_unittest.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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // Use a media session for each tabs in a way that two tabs can't play on top of 83 // Use a media session for each tabs in a way that two tabs can't play on top of
84 // each other. This is different from the Media Session API as it is enabling a 84 // each other. This is different from the Media Session API as it is enabling a
85 // default behaviour for the browser. 85 // default behaviour for the browser.
86 const char kEnableDefaultMediaSession[] = "enable-default-media-session"; 86 const char kEnableDefaultMediaSession[] = "enable-default-media-session";
87 #endif 87 #endif
88 88
89 // Use fake device for Media Stream to replace actual camera and microphone. 89 // Use fake device for Media Stream to replace actual camera and microphone.
90 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; 90 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream";
91 91
92 // Use an .y4m file to play as the webcam. See the comments in 92 // Use an .y4m file to play as the webcam. See the comments in
93 // media/capture/video/file_video_capture_device.h for more details. 93 // device/capture/video/file_video_capture_device.h for more details.
94 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture"; 94 const char kUseFileForFakeVideoCapture[] = "use-file-for-fake-video-capture";
95 95
96 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat 96 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat
97 // the bits as if they came from the microphone, which means you should disable 97 // the bits as if they came from the microphone, which means you should disable
98 // audio processing (lest your audio file will play back distorted). The input 98 // audio processing (lest your audio file will play back distorted). The input
99 // file is converted to suit Chrome's audio buses if necessary, so most sane 99 // file is converted to suit Chrome's audio buses if necessary, so most sane
100 // .wav files should work. You can pass either <path> to play the file looping 100 // .wav files should work. You can pass either <path> to play the file looping
101 // or <path>%noloop to stop after playing the file to completion. 101 // or <path>%noloop to stop after playing the file to completion.
102 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; 102 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture";
103 103
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 // Use new audio rendering mixer. 145 // Use new audio rendering mixer.
146 const base::Feature kNewAudioRenderingMixingStrategy{ 146 const base::Feature kNewAudioRenderingMixingStrategy{
147 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT}; 147 "NewAudioRenderingMixingStrategy", base::FEATURE_DISABLED_BY_DEFAULT};
148 148
149 // Use shared block-based buffering for media. 149 // Use shared block-based buffering for media.
150 const base::Feature kUseNewMediaCache{"use-new-media-cache", 150 const base::Feature kUseNewMediaCache{"use-new-media-cache",
151 base::FEATURE_ENABLED_BY_DEFAULT}; 151 base::FEATURE_ENABLED_BY_DEFAULT};
152 152
153 } // namespace media 153 } // namespace media
OLDNEW
« no previous file with comments | « media/base/feedback_signal_accumulator_unittest.cc ('k') | media/capture/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698