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

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: Reorganized code 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..ba01cd1bbf724cec5730b21fea4406b52217ef11 100644
--- a/remoting/host/audio_scheduler.h
+++ b/remoting/host/audio_scheduler.h
@@ -20,7 +20,9 @@ namespace protocol {
class AudioStub;
} // namespace protocol
+class AudioCaptureData;
Sergey Ulanov 2012/07/31 22:22:17 remove this
kxing 2012/07/31 23:06:06 Done.
class AudioCapturer;
+class AudioEncoder;
class AudioPacket;
// A class for controlling AudioCapturer and forwarding audio packets to the
@@ -45,6 +47,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 +78,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