voice_engine: Updates GetEcDelayMetrics() w.r.t. new metric
As of r8230 (https://webrtc-codereview.appspot.com/39739004/) a new Echo Delay Metric was added calculating the fraction of poor values that may cause the AEC to fail. There are currently two methods for GetDelayMetrics() in webrtc::AutioProcessing and one is deprecated. This CL updates - GetEcDelayMetrics() - voe_auto_test - talk/media/(fake)webrtcvoiceengine BUG=N/A TESTED=locally and trybots R=pbos@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/41749004 Cr-Commit-Position: refs/heads/master@{#8251} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8251 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -1575,7 +1575,7 @@ int WebRtcAec_InitAec(AecCore* aec, int sampFreq) {
|
||||
aec->num_delay_values = 0;
|
||||
aec->delay_median = -1;
|
||||
aec->delay_std = -1;
|
||||
aec->fraction_poor_delays = -1;
|
||||
aec->fraction_poor_delays = -1.0f;
|
||||
|
||||
aec->signal_delay_correction = 0;
|
||||
aec->previous_delay = -2; // (-2): Uninitialized.
|
||||
|
||||
Reference in New Issue
Block a user