Add missing if-clause for residual_echo_likelihood_recent_max

This is a follow-up to https://codereview.webrtc.org/2629563003/.

BUG=webrtc:6797
TBR=solenberg@webrtc.org

Review-Url: https://codereview.webrtc.org/2632243002
Cr-Commit-Position: refs/heads/master@{#16103}
This commit is contained in:
henrik.lundin
2017-01-16 23:53:59 -08:00
committed by Commit bot
parent d3c3a4e2ac
commit 04a057b432

View File

@ -128,6 +128,8 @@ void SetAudioProcessingStats(StatsReport* report,
if (residual_echo_likelihood >= 0.0f) {
report->AddFloat(StatsReport::kStatsValueNameResidualEchoLikelihood,
residual_echo_likelihood);
}
if (residual_echo_likelihood_recent_max >= 0.0f) {
report->AddFloat(
StatsReport::kStatsValueNameResidualEchoLikelihoodRecentMax,
residual_echo_likelihood_recent_max);