Rewrote audio decoding to provide timing information

that is used to sync with video.
Separated audio decoding and playing into two threads, 
the same applies to video decoding and playback.
This was inspired from code written by Stephan.
Added video decoding and display, added play/pause/stop.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17533 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen
2006-05-22 15:56:10 +00:00
parent d6b1b60ed4
commit 453f642e2e
7 changed files with 521 additions and 158 deletions
+3 -4
View File
@@ -199,10 +199,9 @@ MainWin::SetupWindow()
fVideoMenu->ItemAt(0)->SetMarked(true);
if (fHasVideo) {
fSourceWidth = 320;
fSourceHeight = 240;
fWidthScale = 1.24;
fHeightScale = 1.35;
fController->GetSize(&fSourceWidth, &fSourceHeight);
fWidthScale = 1.0;
fHeightScale = 1.0;
} else {
fSourceWidth = 0;
fSourceHeight = 0;