commit | fda2c2e810a815d98fe8b03e8c6687d14227b3ff | [log] [tgz] |
---|---|---|
author | aluebs@webrtc.org <aluebs@webrtc.org> | Thu Sep 18 09:54:06 2014 +0000 |
committer | aluebs@webrtc.org <aluebs@webrtc.org> | Thu Sep 18 09:54:06 2014 +0000 |
tree | 8a7fc9fa32fab791b1919c2cd834247c168454f0 | |
parent | ab071daab89462db77158e637ba059dba8c9ece7 [diff] [blame] |
Add Analyze API to NS This adds an empty API. In a next CL I will separate the noise estimation from the Process API and fill this function. BUG=webrtc:3811 R=bjornv@webrtc.org Review URL: https://webrtc-codereview.appspot.com/23599004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7218 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc index 9d7f1ec..659b794 100644 --- a/webrtc/modules/audio_processing/audio_processing_impl.cc +++ b/webrtc/modules/audio_processing/audio_processing_impl.cc
@@ -487,6 +487,7 @@ if (echo_control_mobile_->is_enabled() && noise_suppression_->is_enabled()) { ca->CopyLowPassToReference(); } + RETURN_ON_ERR(noise_suppression_->AnalyzeCaptureAudio(ca)); RETURN_ON_ERR(noise_suppression_->ProcessCaptureAudio(ca)); RETURN_ON_ERR(echo_control_mobile_->ProcessCaptureAudio(ca)); RETURN_ON_ERR(voice_detection_->ProcessCaptureAudio(ca));