added starting/stopping of playback threads
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17358 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -67,6 +67,11 @@ private:
|
||||
|
||||
void AudioPlayThread();
|
||||
void VideoPlayThread();
|
||||
|
||||
void StartAudioPlayback();
|
||||
void StartVideoPlayback();
|
||||
void StopAudioPlayback();
|
||||
void StopVideoPlayback();
|
||||
|
||||
private:
|
||||
VideoView * fVideoView;
|
||||
@@ -85,6 +90,8 @@ private:
|
||||
sem_id fVideoPlaySem;
|
||||
thread_id fAudioPlayThread;
|
||||
thread_id fVideoPlayThread;
|
||||
volatile bool fStopAudioPlayback;
|
||||
volatile bool fStopVideoPlayback;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user