Chromium Code Reviews| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef REMOTING_PROTOCOL_AUDIO_SEND_STREAM_H_ | |
| 6 #define REMOTING_PROTOCOL_AUDIO_SEND_STREAM_H_ | |
| 7 | |
| 8 namespace remoting { | |
| 9 namespace protocol { | |
| 10 | |
| 11 // AudioSendStream is responsible for fetching audio data from an AudioSource, | |
| 12 // and sending it to the client. | |
| 
 
Jamie
2016/08/17 18:17:30
Since the API makes no reference to AudioSource or
 
Sergey Ulanov
2016/08/18 00:32:56
Done
I don't think we will want to use the same in
 
 | |
| 13 class AudioSendStream { | |
| 14 public: | |
| 15 AudioSendStream() {} | |
| 16 virtual ~AudioSendStream() {} | |
| 17 | |
| 18 // Pauses or resumes audio on a running session. This leaves the audio | |
| 19 // capturer running, and only affects whether or not the captured audio is | |
| 20 // encoded and sent on the wire. | |
| 21 virtual void Pause(bool pause) = 0; | |
| 22 }; | |
| 23 | |
| 24 } // namespace protocol | |
| 25 } // namespace remoting | |
| 26 | |
| 27 #endif // REMOTING_PROTOCOL_AUDIO_SEND_STREAM_H_ | |
| OLD | NEW |