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

Unified Diff: remoting/host/audio_scheduler.h

Issue 10836017: Piping for audio encoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed header guards Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/audio_scheduler.h
diff --git a/remoting/host/audio_scheduler.h b/remoting/host/audio_scheduler.h
index 05a06c617456fde5383876519a0c3078029d81aa..d82de21a5d7064440f1818b1f308a8ec5cd7ab60 100644
--- a/remoting/host/audio_scheduler.h
+++ b/remoting/host/audio_scheduler.h
@@ -21,6 +21,7 @@ class AudioStub;
} // namespace protocol
class AudioCapturer;
+class AudioEncoder;
class AudioPacket;
// A class for controlling AudioCapturer and forwarding audio packets to the
@@ -45,6 +46,7 @@ class AudioScheduler : public base::RefCountedThreadSafe<AudioScheduler> {
scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
AudioCapturer* audio_capturer,
+ scoped_ptr<AudioEncoder> audio_encoder,
protocol::AudioStub* audio_stub);
// Stop the recording session.
@@ -75,6 +77,8 @@ class AudioScheduler : public base::RefCountedThreadSafe<AudioScheduler> {
AudioCapturer* audio_capturer_;
+ scoped_ptr<AudioEncoder> audio_encoder_;
+
protocol::AudioStub* audio_stub_;
bool network_stopped_;

Powered by Google App Engine
This is Rietveld 408576698