commit | 92d1f07551a226d50c8fbf40cb9145ecafd78e1a | [log] [tgz] |
---|---|---|
author | turaj@webrtc.org <turaj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Mon Apr 15 16:52:04 2013 +0000 |
committer | turaj@webrtc.org <turaj@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | Mon Apr 15 16:52:04 2013 +0000 |
tree | f8faf53ece4131d7e5fc229c79930622c92a91ec | |
parent | 4b8de90dce2d5fd1ab30363ec2263a83414ba80c [diff] [blame] |
Elevate NetEq short-term activity statistics to ACM level for logging. Review URL: https://webrtc-codereview.appspot.com/1313004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3850 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_coding/neteq/preemptive_expand.c b/webrtc/modules/audio_coding/neteq/preemptive_expand.c index 172a171..e56c062 100644 --- a/webrtc/modules/audio_coding/neteq/preemptive_expand.c +++ b/webrtc/modules/audio_coding/neteq/preemptive_expand.c
@@ -181,6 +181,8 @@ /* update statistics */ inst->statInst.preemptiveLength += w16_bestIndex; + /* Short-term activity statistics. */ + inst->activity_stats.preemptive_expand_bgn_samples += w16_bestIndex; return 0; } /* end of special code for BGN mode */ @@ -489,7 +491,8 @@ /* Update in-call statistics */ inst->statInst.preemptiveLength += w16_bestIndex; - + /* Short-term activity statistics. */ + inst->activity_stats.preemptive_expand_normal_samples += w16_bestIndex; return 0; } else