OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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_BASE_AUDIO_ENCODER_VERBATIM_H_ |
| 6 #define REMOTING_BASE_AUDIO_ENCODER_VERBATIM_H_ |
| 7 |
| 8 #include "remoting/base/audio_encoder.h" |
| 9 |
| 10 namespace remoting { |
| 11 |
| 12 class AudioEncoderVerbatim : public AudioEncoder { |
| 13 public: |
| 14 static scoped_ptr<AudioEncoder> CreateVerbatimAudioEncoder(); |
| 15 |
| 16 virtual ~AudioEncoderVerbatim(); |
| 17 |
| 18 // AudioEncoder implementation. |
| 19 virtual void Encode( |
| 20 scoped_ptr<AudioCaptureData> audio_capture_data, |
| 21 const PacketEncodedCallback& packet_captured_callback) OVERRIDE; |
| 22 |
| 23 private: |
| 24 AudioEncoderVerbatim(); |
| 25 DISALLOW_COPY_AND_ASSIGN(AudioEncoderVerbatim); |
| 26 }; |
| 27 |
| 28 } // namespace remoting |
| 29 |
| 30 #endif // REMOTING_BASE_AUDIO_ENCODER_VERBATIM_H_ |
OLD | NEW |