| Index: webrtc/modules/audio_coding/test/EncodeDecodeTest.cc
|
| diff --git a/webrtc/modules/audio_coding/test/EncodeDecodeTest.cc b/webrtc/modules/audio_coding/test/EncodeDecodeTest.cc
|
| index e0632243bf4ffa7439fc352610d2674f4db67529..724502354e9ef8d6445e018778457257061cdd8b 100644
|
| --- a/webrtc/modules/audio_coding/test/EncodeDecodeTest.cc
|
| +++ b/webrtc/modules/audio_coding/test/EncodeDecodeTest.cc
|
| @@ -208,8 +208,12 @@ bool Receiver::IncomingPacket() {
|
|
|
| bool Receiver::PlayoutData() {
|
| AudioFrame audioFrame;
|
| -
|
| - int32_t ok =_acm->PlayoutData10Ms(_frequency, &audioFrame);
|
| + bool muted;
|
| + int32_t ok = _acm->PlayoutData10Ms(_frequency, &audioFrame, &muted);
|
| + if (muted) {
|
| + ADD_FAILURE();
|
| + return false;
|
| + }
|
| EXPECT_EQ(0, ok);
|
| if (ok < 0){
|
| return false;
|
|
|