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:
Marcus Overhagen
2006-05-07 20:25:45 +00:00
parent 63b7888854
commit 0aaf5eb1ae
5 changed files with 211 additions and 0 deletions
+7
View File
@@ -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;
};