| 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 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 void StartEchoCancellationDump(AudioProcessing* audio_processing, | 153 void StartEchoCancellationDump(AudioProcessing* audio_processing, |
| 154 base::File aec_dump_file); | 154 base::File aec_dump_file); |
| 155 | 155 |
| 156 // Stops the echo cancellation dump in |audio_processing|. | 156 // Stops the echo cancellation dump in |audio_processing|. |
| 157 // This method has no impact if echo cancellation dump has not been started on | 157 // This method has no impact if echo cancellation dump has not been started on |
| 158 // |audio_processing|. | 158 // |audio_processing|. |
| 159 void StopEchoCancellationDump(AudioProcessing* audio_processing); | 159 void StopEchoCancellationDump(AudioProcessing* audio_processing); |
| 160 | 160 |
| 161 void EnableAutomaticGainControl(AudioProcessing* audio_processing); | 161 void EnableAutomaticGainControl(AudioProcessing* audio_processing); |
| 162 | 162 |
| 163 void GetAecStats(webrtc::EchoCancellation* echo_cancellation, | 163 void GetAudioProcessingStats( |
| 164 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); | 164 AudioProcessing* audio_processing, |
| 165 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); |
| 165 | 166 |
| 166 // Returns the array geometry from the media constraints if existing and | 167 // Returns the array geometry from the media constraints if existing and |
| 167 // otherwise that provided by the input device. | 168 // otherwise that provided by the input device. |
| 168 CONTENT_EXPORT std::vector<webrtc::Point> GetArrayGeometryPreferringConstraints( | 169 CONTENT_EXPORT std::vector<webrtc::Point> GetArrayGeometryPreferringConstraints( |
| 169 const MediaAudioConstraints& audio_constraints, | 170 const MediaAudioConstraints& audio_constraints, |
| 170 const MediaStreamDevice::AudioDeviceParameters& input_params); | 171 const MediaStreamDevice::AudioDeviceParameters& input_params); |
| 171 | 172 |
| 172 } // namespace content | 173 } // namespace content |
| 173 | 174 |
| 174 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ | 175 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ |
| OLD | NEW |