Index: talk/media/base/mediachannel.h |
diff --git a/talk/media/base/mediachannel.h b/talk/media/base/mediachannel.h |
index fe223bba0418d27454aae73cb6b3dc2be3df392a..44b9d4fdc5b1c090af7356818cd1eb25dc85d621 100644 |
--- a/talk/media/base/mediachannel.h |
+++ b/talk/media/base/mediachannel.h |
@@ -31,6 +31,7 @@ |
#include <string> |
#include <vector> |
+#include "talk/media/base/audiorenderer.h" |
#include "talk/media/base/codec.h" |
#include "talk/media/base/constants.h" |
#include "talk/media/base/streamparams.h" |
@@ -51,9 +52,12 @@ class RateLimiter; |
class Timing; |
} |
+namespace webrtc { |
+class AudioSinkInterface; |
+} |
+ |
namespace cricket { |
-class AudioRenderer; |
struct RtpHeader; |
class ScreencastId; |
struct VideoFormat; |
@@ -1028,6 +1032,10 @@ class VoiceMediaChannel : public MediaChannel { |
virtual bool InsertDtmf(uint32_t ssrc, int event, int duration) = 0; |
// Gets quality stats for the channel. |
virtual bool GetStats(VoiceMediaInfo* info) = 0; |
+ |
+ virtual void SetRawAudioSink( |
+ uint32_t ssrc, |
+ rtc::scoped_ptr<webrtc::AudioSinkInterface> sink) = 0; |
}; |
struct VideoSendParameters : RtpSendParameters<VideoCodec, VideoOptions> { |