FFmpegPlayer/AudioDecoder.h
2024-01-18 22:22:26 +08:00

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__