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..a42427cb12e71f945c266edb936a7d788b293005 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,9 @@ class ConnectionToClient : public base::NonThreadSafe { |
// Send encoded update stream data to the viewer. |
virtual VideoStub* video_stub(); |
+ // Send audio stream data to the viewer. |
+ virtual AudioStub* audio_stub(); |
+ |
// Send control data to the viewer/client. |
virtual ClientStub* client_stub(); |
@@ -123,6 +127,9 @@ class ConnectionToClient : public base::NonThreadSafe { |
scoped_ptr<HostControlDispatcher> control_dispatcher_; |
scoped_ptr<HostEventDispatcher> event_dispatcher_; |
scoped_ptr<VideoWriter> video_writer_; |
+ // whether there is audio |
Sergey Ulanov
2012/06/21 17:24:56
Comments should start with a capital letter and en
kxing
2012/06/21 18:09:22
Done.
|
+ bool use_audio_; |
+ scoped_ptr<AudioWriter> audio_writer_; |
DISALLOW_COPY_AND_ASSIGN(ConnectionToClient); |
}; |