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

Unified Diff: remoting/codec/audio_encoder_verbatim.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/codec/audio_encoder_verbatim.h
diff --git a/remoting/codec/audio_encoder_verbatim.h b/remoting/codec/audio_encoder_verbatim.h
new file mode 100644
index 0000000000000000000000000000000000000000..eb6952039a51edb382bee08462dedd825956c7c2
--- /dev/null
+++ b/remoting/codec/audio_encoder_verbatim.h
@@ -0,0 +1,32 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef REMOTING_BASE_AUDIO_ENCODER_VERBATIM_H_
+#define REMOTING_BASE_AUDIO_ENCODER_VERBATIM_H_
+
+#include "remoting/codec/audio_encoder.h"
+
+namespace remoting {
+
+class AudioPacket;
+
+class AudioEncoderVerbatim : public AudioEncoder {
+ public:
+ static scoped_ptr<AudioEncoder> CreateVerbatimAudioEncoder();
+
+ virtual ~AudioEncoderVerbatim();
+
+ // AudioEncoder implementation.
+ virtual scoped_ptr<AudioPacket> Encode(
+ scoped_ptr<AudioPacket> audio_packet) OVERRIDE;
+
+ private:
+ AudioEncoderVerbatim();
+
+ DISALLOW_COPY_AND_ASSIGN(AudioEncoderVerbatim);
+};
+
+} // namespace remoting
+
+#endif // REMOTING_BASE_AUDIO_ENCODER_VERBATIM_H_

Powered by Google App Engine
This is Rietveld 408576698