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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 // Stops the echo cancellation dump in |audio_processing|. | 132 // Stops the echo cancellation dump in |audio_processing|. |
133 // This method has no impact if echo cancellation dump has not been started on | 133 // This method has no impact if echo cancellation dump has not been started on |
134 // |audio_processing|. | 134 // |audio_processing|. |
135 void StopEchoCancellationDump(AudioProcessing* audio_processing); | 135 void StopEchoCancellationDump(AudioProcessing* audio_processing); |
136 | 136 |
137 void EnableAutomaticGainControl(AudioProcessing* audio_processing); | 137 void EnableAutomaticGainControl(AudioProcessing* audio_processing); |
138 | 138 |
139 void GetAecStats(webrtc::EchoCancellation* echo_cancellation, | 139 void GetAecStats(webrtc::EchoCancellation* echo_cancellation, |
140 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); | 140 webrtc::AudioProcessorInterface::AudioProcessorStats* stats); |
141 | 141 |
| 142 // Parses the microphone array geometry from |geometry_string| formatted as |
| 143 // "x1 y1 z1 ... xn yn zn" for an n-microphone array. See |
| 144 // switches::kMicrophonePositions for more detail. |
| 145 // |
| 146 // Returns a zero-sized vector if |geometry_string| isn't a parseable geometry. |
| 147 std::vector<webrtc::Point> ParseArrayGeometry( |
| 148 const std::string& geometry_string); |
| 149 |
142 } // namespace content | 150 } // namespace content |
143 | 151 |
144 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ | 152 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_AUDIO_PROCESSOR_OPTIONS_H_ |
OLD | NEW |