14 lines
277 B
C
14 lines
277 B
C
|
#ifndef __AUDIODECODER_H__
|
||
|
#define __AUDIODECODER_H__
|
||
|
|
||
|
#include <memory>
|
||
|
|
||
|
struct AVCodec;
|
||
|
struct AVPacket;
|
||
|
|
||
|
class AudioDecoder {
|
||
|
public:
|
||
|
AudioDecoder(const AVCodec *codec);
|
||
|
void push(const std::shared_ptr<AVPacket> &packet);
|
||
|
};
|
||
|
#endif // __AUDIODECODER_H__
|