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.
5 #ifndef REMOTING_CODEC_AUDIO_ENCODER_H_
6 #define REMOTING_CODEC_AUDIO_ENCODER_H_
8 #include "base/memory/scoped_ptr.h"
16 virtual ~AudioEncoder() {}
18 virtual scoped_ptr
<AudioPacket
> Encode(scoped_ptr
<AudioPacket
> packet
) = 0;
20 // Returns average bitrate for the stream in bits per second.
21 virtual int GetBitrate() = 0;
24 } // namespace remoting
26 #endif // REMOTING_CODEC_AUDIO_ENCODER_H_