Index: talk/app/webrtc/webrtcsession.cc |
diff --git a/talk/app/webrtc/webrtcsession.cc b/talk/app/webrtc/webrtcsession.cc |
index 2ab9a1e6969599983724f9ffdce7aebb91b5d418..29164eba755c25519bf2e1b0ba55bad5a1cb1726 100644 |
--- a/talk/app/webrtc/webrtcsession.cc |
+++ b/talk/app/webrtc/webrtcsession.cc |
@@ -1246,7 +1246,7 @@ void WebRtcSession::SetAudioPlayout(uint32_t ssrc, |
LOG(LS_ERROR) << "SetAudioPlayout: ssrc is incorrect: " << ssrc; |
return; |
} |
- if (!voice_channel_->SetOutputScaling(ssrc, enable ? 1 : 0, enable ? 1 : 0)) { |
+ if (!voice_channel_->SetOutputScaling(ssrc, enable ? 1 : 0)) { |
// Allow that SetOutputScaling fail if |enable| is false but assert |
// otherwise. This in the normal case when the underlying media channel has |
// already been deleted. |
@@ -1276,7 +1276,7 @@ void WebRtcSession::SetAudioPlayoutVolume(uint32_t ssrc, double volume) { |
return; |
} |
- if (!voice_channel_->SetOutputScaling(ssrc, volume, volume)) { |
+ if (!voice_channel_->SetOutputScaling(ssrc, volume)) { |
ASSERT(false); |
} |
} |