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

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

Issue 914483002: Add flag --require-audio-hardware-for-testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/media_switches.h ('k') | media/media.gyp » ('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 "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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat 98 // Play a .wav file as the microphone. Note that for WebRTC calls we'll treat
99 // the bits as if they came from the microphone, which means you should disable 99 // the bits as if they came from the microphone, which means you should disable
100 // audio processing (lest your audio file will play back distorted). The input 100 // audio processing (lest your audio file will play back distorted). The input
101 // file is converted to suit Chrome's audio buses if necessary, so most sane 101 // file is converted to suit Chrome's audio buses if necessary, so most sane
102 // .wav files should work. 102 // .wav files should work.
103 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture"; 103 const char kUseFileForFakeAudioCapture[] = "use-file-for-fake-audio-capture";
104 104
105 // Enables support for inband text tracks in media content. 105 // Enables support for inband text tracks in media content.
106 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; 106 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks";
107 107
108 // When running tests on a system without the required hardware or libraries,
109 // this flag will cause the tests to fail. Otherwise, they silently succeed.
110 const char kRequireAudioHardwareForTesting[] =
111 "require-audio-hardware-for-testing";
112
108 } // namespace switches 113 } // namespace switches
OLDNEW
« no previous file with comments | « media/base/media_switches.h ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698