Index: webrtc/modules/audio_coding/acm2/call_statistics.cc |
diff --git a/webrtc/modules/audio_coding/acm2/call_statistics.cc b/webrtc/modules/audio_coding/acm2/call_statistics.cc |
index 4441932c8c4306608a8a22c1d5e0b26ab2282685..9a6af089d0589ae811d25f8465749f62b33fa434 100644 |
--- a/webrtc/modules/audio_coding/acm2/call_statistics.cc |
+++ b/webrtc/modules/audio_coding/acm2/call_statistics.cc |
@@ -16,8 +16,12 @@ namespace webrtc { |
namespace acm2 { |
-void CallStatistics::DecodedByNetEq(AudioFrame::SpeechType speech_type) { |
+void CallStatistics::DecodedByNetEq(AudioFrame::SpeechType speech_type, |
+ bool muted) { |
++decoding_stat_.calls_to_neteq; |
+ if (muted) { |
+ ++decoding_stat_.decoded_muted_output; |
+ } |
switch (speech_type) { |
case AudioFrame::kNormalSpeech: { |
++decoding_stat_.decoded_normal; |