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

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

Issue 2254673002: Remove dependency on AudioStub in ConnectionToClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 3 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_source.h ('k') | remoting/protocol/connection_to_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_stream_H_
6 #define REMOTING_PROTOCOL_audio_stream_H_
7
8 namespace remoting {
9 namespace protocol {
10
11 // AudioStream is responsible for fetching audio data from an AudioSource,
12 // and sending it to the client.
13 class AudioStream {
14 public:
15 AudioStream() {}
16 virtual ~AudioStream() {}
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_stream_H_
OLDNEW
« no previous file with comments | « remoting/protocol/audio_source.h ('k') | remoting/protocol/connection_to_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698