Propagate muted parameter to VoE::Channel

Deleted the temporary ACM method without the muted parameter, and had
to modify several tests for this. The muted parameter is not yet propagated to the AudioConferenceMixer; this is the next step.

BUG=webrtc:5609
TBR=perkj@webrtc.org

Review-Url: https://codereview.webrtc.org/1985743002
Cr-Commit-Position: refs/heads/master@{#12779}
This commit is contained in:
henrik.lundin
2016-05-17 12:21:55 -07:00
committed by Commit bot
parent e305d956c0
commit d4ccb00b9e
15 changed files with 88 additions and 27 deletions

View File

@ -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;