OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/renderer/media/media_stream_audio_processor_options.h" | 5 #include "content/renderer/media/media_stream_audio_processor_options.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 std::string MediaAudioConstraints::GetGoogArrayGeometry() const { | 268 std::string MediaAudioConstraints::GetGoogArrayGeometry() const { |
269 std::string the_value; | 269 std::string the_value; |
270 if (GetConstraintValueAsString( | 270 if (GetConstraintValueAsString( |
271 constraints_, &blink::WebMediaTrackConstraintSet::goog_array_geometry, | 271 constraints_, &blink::WebMediaTrackConstraintSet::goog_array_geometry, |
272 &the_value)) { | 272 &the_value)) { |
273 return the_value; | 273 return the_value; |
274 } | 274 } |
275 return ""; | 275 return ""; |
276 } | 276 } |
277 | 277 |
| 278 AudioProcessingProperties::AudioProcessingProperties() = default; |
| 279 AudioProcessingProperties::AudioProcessingProperties( |
| 280 const AudioProcessingProperties& other) = default; |
| 281 AudioProcessingProperties& AudioProcessingProperties::operator=( |
| 282 const AudioProcessingProperties& other) = default; |
| 283 AudioProcessingProperties::AudioProcessingProperties( |
| 284 AudioProcessingProperties&& other) = default; |
| 285 AudioProcessingProperties& AudioProcessingProperties::operator=( |
| 286 AudioProcessingProperties&& other) = default; |
| 287 AudioProcessingProperties::~AudioProcessingProperties() = default; |
| 288 |
278 EchoInformation::EchoInformation() | 289 EchoInformation::EchoInformation() |
279 : delay_stats_time_ms_(0), | 290 : delay_stats_time_ms_(0), |
280 echo_frames_received_(false), | 291 echo_frames_received_(false), |
281 divergent_filter_stats_time_ms_(0), | 292 divergent_filter_stats_time_ms_(0), |
282 num_divergent_filter_fraction_(0), | 293 num_divergent_filter_fraction_(0), |
283 num_non_zero_divergent_filter_fraction_(0) {} | 294 num_non_zero_divergent_filter_fraction_(0) {} |
284 | 295 |
285 EchoInformation::~EchoInformation() { | 296 EchoInformation::~EchoInformation() { |
286 DCHECK(thread_checker_.CalledOnValidThread()); | 297 DCHECK(thread_checker_.CalledOnValidThread()); |
287 ReportAndResetAecDivergentFilterStats(); | 298 ReportAndResetAecDivergentFilterStats(); |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 | 490 |
480 // Give preference to the audio constraint over the device-supplied mic | 491 // Give preference to the audio constraint over the device-supplied mic |
481 // positions. This is mainly for testing purposes. | 492 // positions. This is mainly for testing purposes. |
482 return WebrtcPointsFromMediaPoints( | 493 return WebrtcPointsFromMediaPoints( |
483 constraints_geometry.empty() | 494 constraints_geometry.empty() |
484 ? input_params.mic_positions | 495 ? input_params.mic_positions |
485 : media::ParsePointsFromString(constraints_geometry)); | 496 : media::ParsePointsFromString(constraints_geometry)); |
486 } | 497 } |
487 | 498 |
488 } // namespace content | 499 } // namespace content |
OLD | NEW |