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

Unified Diff: talk/media/base/audiorenderer.h

Issue 1393343003: Revert of Remove AudioTrackRenderer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « talk/libjingle.gyp ('k') | talk/media/base/fakemediaengine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/audiorenderer.h
diff --git a/talk/media/base/audiorenderer.h b/talk/media/base/audiorenderer.h
index 229c36e8b1eccfb57b042ef643fe1c3f232ddaae..5c03576fa79d2a593a2013b23035020fe4d1f852 100644
--- a/talk/media/base/audiorenderer.h
+++ b/talk/media/base/audiorenderer.h
@@ -55,6 +55,20 @@
// to the renderer at a time.
virtual void SetSink(Sink* sink) {}
+ // Add the WebRtc VoE channel to the renderer.
+ // For local stream, multiple WebRtc VoE channels can be connected to the
+ // renderer. While for remote stream, only one WebRtc VoE channel can be
+ // connected to the renderer.
+ // TODO(xians): Remove this interface after Chrome switches to the
+ // AudioRenderer::Sink interface.
+ virtual void AddChannel(int channel_id) {}
+
+ // Remove the WebRtc VoE channel from the renderer.
+ // This method is called when the VoE channel is going away.
+ // TODO(xians): Remove this interface after Chrome switches to the
+ // AudioRenderer::Sink interface.
+ virtual void RemoveChannel(int channel_id) {}
+
protected:
virtual ~AudioRenderer() {}
};
« no previous file with comments | « talk/libjingle.gyp ('k') | talk/media/base/fakemediaengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698