| Index: webrtc/modules/audio_coding/neteq/neteq_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc
|
| index 4a6f505fc639c4edb0b515f712a471ec0c9237cc..cf8e5b474c282f55cf18da70b6536a6ef402214b 100644
|
| --- a/webrtc/modules/audio_coding/neteq/neteq_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/neteq_unittest.cc
|
| @@ -1608,6 +1608,15 @@ TEST_F(NetEqDecodingTestWithMutedState, MutedState) {
|
| // packet. Verify that normal operation resumes.
|
| InsertPacket(kSamples * counter_);
|
| GetAudioUntilNormal();
|
| +
|
| + NetEqNetworkStatistics stats;
|
| + EXPECT_EQ(0, neteq_->NetworkStatistics(&stats));
|
| + // NetEqNetworkStatistics::expand_rate tells the fraction of samples that were
|
| + // concealment samples, in Q14 (16384 = 100%) .The vast majority should be
|
| + // concealment samples in this test.
|
| + EXPECT_GT(stats.expand_rate, 14000);
|
| + // And, it should be greater than the speech_expand_rate.
|
| + EXPECT_GT(stats.expand_rate, stats.speech_expand_rate);
|
| }
|
|
|
| // Verifies that NetEq goes out of muted state when given a delayed packet.
|
|
|