Index: talk/session/media/channel.cc |
diff --git a/talk/session/media/channel.cc b/talk/session/media/channel.cc |
index 588a03661cf1e84e8d3d75e8cd058abd273c3e73..7f4ab63f716746e12b0de988c5b6343365478563 100644 |
--- a/talk/session/media/channel.cc |
+++ b/talk/session/media/channel.cc |
@@ -1376,6 +1376,11 @@ bool VoiceChannel::SetOutputVolume(uint32_t ssrc, double volume) { |
media_channel(), ssrc, volume)); |
} |
+void VoiceChannel::SetRawAudioSink(uint32_t ssrc, AudioRenderer::Sink* sink) { |
+ worker_thread()->Invoke<void>( |
perkj_webrtc
2015/12/10 12:24:05
Use InvokeOnWorker same as the others.
tommi
2015/12/10 22:37:25
InvokeOnWorker unfortunately only works for method
|
+ Bind(&VoiceMediaChannel::SetRawAudioSink, media_channel(), ssrc, sink)); |
+} |
+ |
bool VoiceChannel::GetStats(VoiceMediaInfo* stats) { |
return InvokeOnWorker(Bind(&VoiceMediaChannel::GetStats, |
media_channel(), stats)); |