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 f8bacf8dc7d4a97ad4d267bb23d6a9f7bab35c2b..09e06c1065dc4e0b543263f475d5c205c3800958 100644 |
--- a/webrtc/modules/audio_coding/acm2/acm_receiver.cc |
+++ b/webrtc/modules/audio_coding/acm2/acm_receiver.cc |
@@ -137,10 +137,12 @@ int AcmReceiver::GetAudio(int desired_freq_hz, AudioFrame* audio_frame) { |
// Accessing members, take the lock. |
rtc::CritScope lock(&crit_sect_); |
- if (neteq_->GetAudio(audio_frame) != NetEq::kOK) { |
+ bool muted; |
+ if (neteq_->GetAudio(audio_frame, &muted) != NetEq::kOK) { |
LOG(LERROR) << "AcmReceiver::GetAudio - NetEq Failed."; |
return -1; |
} |
+ RTC_DCHECK(!muted); |
const int current_sample_rate_hz = neteq_->last_output_sample_rate_hz(); |