Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: webrtc/voice_engine/voe_volume_control_impl.cc

Issue 1810413002: Avoid clicks when muting/unmuting a voe::Channel. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/voice_engine/voe_volume_control_impl.cc
diff --git a/webrtc/voice_engine/voe_volume_control_impl.cc b/webrtc/voice_engine/voe_volume_control_impl.cc
index 8beba11574871e57b5e1a69156b7aa2d748c55d4..eb17db3219baca15497c5ec13be065694fafa6d3 100644
--- a/webrtc/voice_engine/voe_volume_control_impl.cc
+++ b/webrtc/voice_engine/voe_volume_control_impl.cc
@@ -215,7 +215,7 @@ int VoEVolumeControlImpl::SetInputMute(int channel, bool enable) {
"SetInputMute() failed to locate channel");
return -1;
}
- return channelPtr->SetMute(enable);
+ return channelPtr->SetInputMute(enable);
}
int VoEVolumeControlImpl::GetInputMute(int channel, bool& enabled) {
@@ -233,7 +233,7 @@ int VoEVolumeControlImpl::GetInputMute(int channel, bool& enabled) {
"SetInputMute() failed to locate channel");
return -1;
}
- enabled = channelPtr->Mute();
+ enabled = channelPtr->InputMute();
}
return 0;
}
« webrtc/voice_engine/transmit_mixer.cc ('K') | « webrtc/voice_engine/transmit_mixer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698