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:
committed by
Commit bot
parent
e305d956c0
commit
d4ccb00b9e
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user