Index: remoting/protocol/connection_to_client.h |
diff --git a/remoting/protocol/connection_to_client.h b/remoting/protocol/connection_to_client.h |
index f786e54de09a806cd30d525dd3f44dc841e216d6..715b800044740ff009edf076cb2ce732e788f35d 100644 |
--- a/remoting/protocol/connection_to_client.h |
+++ b/remoting/protocol/connection_to_client.h |
@@ -12,6 +12,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/synchronization/lock.h" |
#include "base/threading/non_thread_safe.h" |
+#include "remoting/protocol/audio_writer.h" |
#include "remoting/protocol/session.h" |
#include "remoting/protocol/video_writer.h" |
@@ -83,6 +84,10 @@ class ConnectionToClient : public base::NonThreadSafe { |
// Send encoded update stream data to the viewer. |
virtual VideoStub* video_stub(); |
+ // Send audio stream data to the viewer. |
+ // Returns NULL if audio is not enabled. |
+ virtual AudioStub* audio_stub(); |
+ |
// Send control data to the viewer/client. |
virtual ClientStub* client_stub(); |
@@ -123,6 +128,7 @@ class ConnectionToClient : public base::NonThreadSafe { |
scoped_ptr<HostControlDispatcher> control_dispatcher_; |
scoped_ptr<HostEventDispatcher> event_dispatcher_; |
scoped_ptr<VideoWriter> video_writer_; |
+ scoped_ptr<AudioWriter> audio_writer_; |
DISALLOW_COPY_AND_ASSIGN(ConnectionToClient); |
}; |