| Index: webrtc/modules/audio_coding/neteq/expand.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/expand.cc b/webrtc/modules/audio_coding/neteq/expand.cc
|
| index 5cb18db462a7a260bf6aa56880be0a27b81b19c7..4c17fd558de29dc51fae4ab831071a0b90a89f95 100644
|
| --- a/webrtc/modules/audio_coding/neteq/expand.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/expand.cc
|
| @@ -327,6 +327,17 @@ void Expand::SetParametersForMergeAfterExpand() {
|
| stop_muting_ = true;
|
| }
|
|
|
| +bool Expand::Muted() const {
|
| + if (first_expand_ || stop_muting_)
|
| + return false;
|
| + RTC_DCHECK(channel_parameters_);
|
| + for (size_t ch = 0; ch < num_channels_; ++ch) {
|
| + if (channel_parameters_[ch].mute_factor != 0)
|
| + return false;
|
| + }
|
| + return true;
|
| +}
|
| +
|
| size_t Expand::overlap_length() const {
|
| return overlap_length_;
|
| }
|
|
|