Home | History | Annotate | Download | only in codec
      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_CODEC_AUDIO_ENCODER_H_
      6 #define REMOTING_CODEC_AUDIO_ENCODER_H_
      7 
      8 #include "base/memory/scoped_ptr.h"
      9 
     10 namespace remoting {
     11 
     12 class AudioPacket;
     13 
     14 class AudioEncoder {
     15  public:
     16   virtual ~AudioEncoder() {}
     17 
     18   virtual scoped_ptr<AudioPacket> Encode(scoped_ptr<AudioPacket> packet) = 0;
     19 };
     20 
     21 }  // namespace remoting
     22 
     23 #endif  // REMOTING_CODEC_AUDIO_ENCODER_H_
     24