View Issue Details

IDProjectCategoryView StatusLast Update
0000459FSSCPsoundpublic2005-06-24 18:03
ReporterAlpha0 Assigned Totaylor  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformDell Latitude D600 NotebookOSWindows 2000 ProfessionalOS Version5.00.2195 SP4
Product Version3.6.5 
Summary0000459: OGG music does not play properly during briefing
DescriptionIn Taylor's fs2_open_T-20050622.exe build, ogg music during the briefing fails to play from start. I have tried it with the Caught In The Middle mission (attached), which uses the Brief6 music track for the briefing section. Brief6 is mapped to FS2_Brl_A01.ogg, in mv_music.vp's music.tbl file. The song not only starts at the wrong spot (near the end of the track), but as soon as it reaches the end, it gets "stuck" and plays the last one or two seconds repeatedly.
Steps To ReproduceLoad up the attached mission in the Tech Room and go to briefing. It is immediately obvious that the briefing theme does not play correctly if you have the mv_music.vp installed. If mv_music.vp is removed (or renamed so that it becomes invisible to the program), everything is fine.
Additional InformationTaylor did a few changes in the seek functions in ogg.cpp fairly recently. I believe something has gone wrong there, but I have not been able to do any tracking and debugging. That is where I would look first though.

As usual, system specs are as per previous reports:
Test system: Dell Latitude D600 Notebook, Intel Centrino 1.6GHz, 512MB RAM, Windows 2000 Professional SP4, Mobility Radeon 9000 w/ 32MB for graphics, graphics drivers version 6.13.10.6279. DX version 8.1 (4.08.01.0881).
TagsNo tags attached.

Activities

2005-06-24 16:44

 

In_middle.fs2 (117,082 bytes)

taylor

2005-06-24 18:03

administrator   ~0002684

Yep, I just got the inital offset wrong. It was right in the test builds so I just missed making that change in the code that hit CVS. The ogg seeking functions only see the ogg as a separate file, all by itself on the disk. The ogg seeking callbacks correct this by adjusting the proper amount to account for the presence of an ogg in a VP. The problem is that the initial data offset was set to the VP offset rather than 0. It was over correcting for the difference.

Wish more bugs were one line fixes that can be found in less than 2 minutes. :)

taylor

2005-06-24 18:03

administrator   ~0002685

Will hit CVS when I get the chance.


Fixered.

Issue History

Date Modified Username Field Change
2005-06-24 16:44 Alpha0 New Issue
2005-06-24 16:44 Alpha0 File Added: In_middle.fs2
2005-06-24 18:03 taylor Note Added: 0002684
2005-06-24 18:03 taylor Status new => resolved
2005-06-24 18:03 taylor Resolution open => fixed
2005-06-24 18:03 taylor Assigned To => taylor
2005-06-24 18:03 taylor Note Added: 0002685