start_play_thread.h 492 B

12345678910111213141516171819202122
  1. #ifndef AVPLAYER2_START_PLAY_THREAD_H
  2. #define AVPLAYER2_START_PLAY_THREAD_H
  3. #pragma once
  4. #include "ThreadBase.h"
  5. class AudioPlayThread;
  6. class VideoStateData;
  7. class StartPlayThread : public ThreadBase
  8. {
  9. public:
  10. explicit StartPlayThread(AudioPlayThread* audioPlayThread, VideoStateData* videoStateData);
  11. ~StartPlayThread();
  12. protected:
  13. void run() override;
  14. AudioPlayThread* m_audioPlayThread;
  15. VideoStateData* m_videoStateData;
  16. };
  17. #endif // AVPLAYER2_START_PLAY_THREAD_H