View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000459 | FSSCP | sound | public | 2005-06-24 16:44 | 2005-06-24 18:03 |
| Reporter | Alpha0 | Assigned To | taylor | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | Dell Latitude D600 Notebook | OS | Windows 2000 Professional | OS Version | 5.00.2195 SP4 |
| Product Version | 3.6.5 | ||||
| Summary | 0000459: OGG music does not play properly during briefing | ||||
| Description | In 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 Reproduce | Load 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 Information | Taylor 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). | ||||
| Tags | No tags attached. | ||||
|
2005-06-24 16:44
|
|
|
|
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. :) |
|
|
Will hit CVS when I get the chance. Fixered. |
| 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 |