Index: webrtc/modules/audio_processing/aec3/subtractor.h |
diff --git a/webrtc/modules/audio_processing/aec3/subtractor.h b/webrtc/modules/audio_processing/aec3/subtractor.h |
index a127141be348c1552a85d6115059e2b4e7b4ff41..530cb191e552c9be9d28dac42695efe9f9db42e5 100644 |
--- a/webrtc/modules/audio_processing/aec3/subtractor.h |
+++ b/webrtc/modules/audio_processing/aec3/subtractor.h |
@@ -45,12 +45,18 @@ class Subtractor { |
void HandleEchoPathChange(const EchoPathVariability& echo_path_variability); |
- // Returns the block-wise frequency response of the main adaptive filter. |
+ // Returns the block-wise frequency response for the main adaptive filter. |
const std::vector<std::array<float, kFftLengthBy2Plus1>>& |
FilterFrequencyResponse() const { |
return main_filter_.FilterFrequencyResponse(); |
} |
+ // Returns the estimate of the impulse response for the main adaptive filter. |
+ const std::array<float, kAdaptiveFilterTimeDomainLength>& |
+ FilterImpulseResponse() const { |
+ return main_filter_.FilterImpulseResponse(); |
+ } |
+ |
private: |
const Aec3Fft fft_; |
ApmDataDumper* data_dumper_; |