Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(864)

Unified Diff: webrtc/modules/audio_coding/acm2/acm_receiver.cc

Issue 2341293002: Add new decoding statistics for muted output (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/acm2/acm_receiver.cc
diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.cc b/webrtc/modules/audio_coding/acm2/acm_receiver.cc
index 9a882aac374a93c05bff8f7fbd866984e2c3c58f..0697039bbb0c481319ab2a56cab4733ede832eef 100644
--- a/webrtc/modules/audio_coding/acm2/acm_receiver.cc
+++ b/webrtc/modules/audio_coding/acm2/acm_receiver.cc
@@ -191,7 +191,7 @@ int AcmReceiver::GetAudio(int desired_freq_hz,
sizeof(int16_t) * audio_frame->samples_per_channel_ *
audio_frame->num_channels_);
- call_stats_.DecodedByNetEq(audio_frame->speech_type_);
+ call_stats_.DecodedByNetEq(audio_frame->speech_type_, *muted);
the sun 2016/09/16 17:18:36 nit: DCHECK the pointer at function entry, since n
hlundin-webrtc 2016/09/20 07:48:37 Done.
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698