added a sound output class to push data to the mixer, also started audio and video play threads
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17357 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -62,6 +62,11 @@ public:
|
||||
void VolumeDown();
|
||||
|
||||
private:
|
||||
static int32 audio_play_thread(void *self);
|
||||
static int32 video_play_thread(void *self);
|
||||
|
||||
void AudioPlayThread();
|
||||
void VideoPlayThread();
|
||||
|
||||
private:
|
||||
VideoView * fVideoView;
|
||||
@@ -78,6 +83,8 @@ private:
|
||||
media_format fVideoFormat;
|
||||
sem_id fAudioPlaySem;
|
||||
sem_id fVideoPlaySem;
|
||||
thread_id fAudioPlayThread;
|
||||
thread_id fVideoPlayThread;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user