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

Side by Side Diff: remoting/protocol/audio_stream.h

Issue 2392963003: Add Audio support in Chromoting host when using WebRTC. (Closed)
Patch Set: . Created 4 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 unified diff | Download patch
« no previous file with comments | « remoting/protocol/audio_pump_unittest.cc ('k') | remoting/protocol/connection_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_PROTOCOL_audio_stream_H_ 5 #ifndef REMOTING_PROTOCOL_AUDIO_STREAM_H_
6 #define REMOTING_PROTOCOL_audio_stream_H_ 6 #define REMOTING_PROTOCOL_AUDIO_STREAM_H_
7 7
8 namespace remoting { 8 namespace remoting {
9 namespace protocol { 9 namespace protocol {
10 10
11 // AudioStream is responsible for fetching audio data from an AudioSource, 11 // AudioStream is responsible for fetching audio data from an AudioSource,
12 // and sending it to the client. 12 // and sending it to the client.
13 class AudioStream { 13 class AudioStream {
14 public: 14 public:
15 AudioStream() {} 15 AudioStream() {}
16 virtual ~AudioStream() {} 16 virtual ~AudioStream() {}
17 17
18 // Pauses or resumes audio on a running session. This leaves the audio 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 19 // capturer running, and only affects whether or not the captured audio is
20 // encoded and sent on the wire. 20 // encoded and sent on the wire.
21 virtual void Pause(bool pause) = 0; 21 virtual void Pause(bool pause) = 0;
22 }; 22 };
23 23
24 } // namespace protocol 24 } // namespace protocol
25 } // namespace remoting 25 } // namespace remoting
26 26
27 #endif // REMOTING_PROTOCOL_audio_stream_H_ 27 #endif // REMOTING_PROTOCOL_AUDIO_STREAM_H_
OLDNEW
« no previous file with comments | « remoting/protocol/audio_pump_unittest.cc ('k') | remoting/protocol/connection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698