Index: webrtc/api/webrtcsession.cc |
diff --git a/webrtc/api/webrtcsession.cc b/webrtc/api/webrtcsession.cc |
index 8cbcb977e2a50abb249ff3420d75b2bdf7cacbe6..2f3c911454d440d448f5f4d6c68a498a7ef246fd 100644 |
--- a/webrtc/api/webrtcsession.cc |
+++ b/webrtc/api/webrtcsession.cc |
@@ -1180,13 +1180,13 @@ void WebRtcSession::SetAudioPlayout(uint32_t ssrc, bool enable) { |
void WebRtcSession::SetAudioSend(uint32_t ssrc, |
bool enable, |
const cricket::AudioOptions& options, |
- cricket::AudioRenderer* renderer) { |
+ cricket::AudioSource* source) { |
ASSERT(signaling_thread()->IsCurrent()); |
if (!voice_channel_) { |
LOG(LS_ERROR) << "SetAudioSend: No audio channel exists."; |
return; |
} |
- if (!voice_channel_->SetAudioSend(ssrc, enable, &options, renderer)) { |
+ if (!voice_channel_->SetAudioSend(ssrc, enable, &options, source)) { |
LOG(LS_ERROR) << "SetAudioSend: ssrc is incorrect: " << ssrc; |
} |
} |