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/expand.c b/webrtc/modules/audio_coding/neteq/expand.c index 6a69925..9959f92 100644 --- a/webrtc/modules/audio_coding/neteq/expand.c +++ b/webrtc/modules/audio_coding/neteq/expand.c
@@ -1141,11 +1141,15 @@ { /* Only noise expansion */ inst->statInst.expandedNoiseSamples += *pw16_len; + /* Short-term activity statistics. */ + inst->activity_stats.expand_bgn_samples += *pw16_len; } else { /* Voice expand (note: not necessarily _voiced_) */ inst->statInst.expandedVoiceSamples += *pw16_len; + /* Short-term activity statistics. */ + inst->activity_stats.expand_normal_samples += *pw16_len; } }