#ifndef AVPLAYER2_AUDIO_DECODE_THREAD_H #define AVPLAYER2_AUDIO_DECODE_THREAD_H #pragma once #include "ThreadBase.h" #include "packets_sync.h" class AudioDecodeThread : public ThreadBase { public: explicit AudioDecodeThread(VideoState* pState = nullptr); ~AudioDecodeThread(); protected: void run() override; private: VideoState* m_pState; }; #endif // AVPLAYER2_AUDIO_DECODE_THREAD_H