OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 <stddef.h> | 5 #include <stddef.h> |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "base/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
10 #include "content/renderer/media/media_stream_audio_processor_options.h" | 10 #include "content/renderer/media/media_stream_audio_processor_options.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 basic_.goog_auto_gain_control.SetExact(false); | 35 basic_.goog_auto_gain_control.SetExact(false); |
36 basic_.goog_experimental_auto_gain_control.SetExact(false); | 36 basic_.goog_experimental_auto_gain_control.SetExact(false); |
37 basic_.goog_noise_suppression.SetExact(false); | 37 basic_.goog_noise_suppression.SetExact(false); |
38 basic_.goog_noise_suppression.SetExact(false); | 38 basic_.goog_noise_suppression.SetExact(false); |
39 basic_.goog_highpass_filter.SetExact(false); | 39 basic_.goog_highpass_filter.SetExact(false); |
40 basic_.goog_typing_noise_detection.SetExact(false); | 40 basic_.goog_typing_noise_detection.SetExact(false); |
41 basic_.goog_experimental_noise_suppression.SetExact(false); | 41 basic_.goog_experimental_noise_suppression.SetExact(false); |
42 basic_.goog_beamforming.SetExact(false); | 42 basic_.goog_beamforming.SetExact(false); |
43 } | 43 } |
44 | 44 |
| 45 void MockConstraintFactory::DisableAecAudioConstraints() { |
| 46 basic_.goog_echo_cancellation.SetExact(false); |
| 47 } |
| 48 |
45 void MockConstraintFactory::Reset() { | 49 void MockConstraintFactory::Reset() { |
46 basic_ = blink::WebMediaTrackConstraintSet(); | 50 basic_ = blink::WebMediaTrackConstraintSet(); |
47 advanced_.clear(); | 51 advanced_.clear(); |
48 } | 52 } |
49 | 53 |
50 } // namespace content | 54 } // namespace content |
OLD | NEW |