| 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" |
| 11 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/metrics/histogram.h" | 14 #include "base/metrics/histogram_macros.h" |
| 15 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
| 16 #include "base/strings/string_split.h" | 16 #include "base/strings/string_split.h" |
| 17 #include "base/strings/string_util.h" | 17 #include "base/strings/string_util.h" |
| 18 #include "base/strings/utf_string_conversions.h" | 18 #include "base/strings/utf_string_conversions.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "content/common/media/media_stream_options.h" | 20 #include "content/common/media/media_stream_options.h" |
| 21 #include "content/renderer/media/media_stream_constraints_util.h" | 21 #include "content/renderer/media/media_stream_constraints_util.h" |
| 22 #include "content/renderer/media/media_stream_source.h" | 22 #include "content/renderer/media/media_stream_source.h" |
| 23 #include "media/base/audio_parameters.h" | 23 #include "media/base/audio_parameters.h" |
| 24 #include "third_party/webrtc/modules/audio_processing/include/audio_processing.h
" | 24 #include "third_party/webrtc/modules/audio_processing/include/audio_processing.h
" |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 | 531 |
| 532 // Give preference to the audio constraint over the device-supplied mic | 532 // Give preference to the audio constraint over the device-supplied mic |
| 533 // positions. This is mainly for testing purposes. | 533 // positions. This is mainly for testing purposes. |
| 534 return WebrtcPointsFromMediaPoints( | 534 return WebrtcPointsFromMediaPoints( |
| 535 constraints_geometry.empty() | 535 constraints_geometry.empty() |
| 536 ? input_params.mic_positions | 536 ? input_params.mic_positions |
| 537 : media::ParsePointsFromString(constraints_geometry)); | 537 : media::ParsePointsFromString(constraints_geometry)); |
| 538 } | 538 } |
| 539 | 539 |
| 540 } // namespace content | 540 } // namespace content |
| OLD | NEW |