Only adapt AGC when the desired signal is present
Take the 50% quantile of the mask and compare it to certain threshold to determine if the desired signal is present. A hold is applied to avoid fast switching between states. is_signal_present_ has been plotted and looks as expected. The AGC adaptation sounds promising, specially for the cases when the speaker fades in and out from the beam direction. R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/28329005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8078 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -180,6 +180,8 @@
|
||||
'audio_processing/beamformer/complex_matrix_unittest.cc',
|
||||
'audio_processing/beamformer/covariance_matrix_generator_unittest.cc',
|
||||
'audio_processing/beamformer/matrix_unittest.cc',
|
||||
'audio_processing/beamformer/mock_beamformer.cc',
|
||||
'audio_processing/beamformer/mock_beamformer.h',
|
||||
'audio_processing/beamformer/pcm_utils.cc',
|
||||
'audio_processing/beamformer/pcm_utils.h',
|
||||
'audio_processing/echo_cancellation_impl_unittest.cc',
|
||||
|
||||
Reference in New Issue
Block a user