Tested latest SVN build, r2908. Audio still not properly looping. I also noticed that it doesn't play the right audio, it plays the audio from the previous scene; for example, it plays the character introductions music when you gain control at the start of chapter 1, and it doesn't play that properly either. I'm just wondering if the cause of this audio problem has already been identified or something I should post a log file about to get some developer interest.
Also odd, the opening video only shows up for me in software rendering mode (but this has always happened), otherwise audio plays on black screen.
EDIT: Alright, here's some INFO dumps from the logger and observations:
I let the game run through it's intro movie, waited at the menu until it went back through the intro movie to the menu, and waited, and so on. Each time, I copied the relevant Menu audio INFO level entry:
First playthrough:
123262 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
185889 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x10000, bufferSize=0x56494, fileSize=0x56494
278606 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
324347 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
In my observations, when the readSize was larger, a longer portion of the audio played before looping.
Second playthrough:
28627 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
70618 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E11100, readSize=0x10000, bufferSize=0x56494, fileSize=0x56494
135833 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E25B80, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
208615 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E25B80, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
This time the buffer switched for some odd reason. bufferSize and fileSize stayed the same. Observations regarding readSize were confirmed.
Also odd, the opening video only shows up for me in software rendering mode (but this has always happened), otherwise audio plays on black screen.
EDIT: Alright, here's some INFO dumps from the logger and observations:
I let the game run through it's intro movie, waited at the menu until it went back through the intro movie to the menu, and waited, and so on. Each time, I copied the relevant Menu audio INFO level entry:
First playthrough:
123262 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
185889 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x10000, bufferSize=0x56494, fileSize=0x56494
278606 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
324347 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
In my observations, when the readSize was larger, a longer portion of the audio played before looping.
Second playthrough:
28627 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E29180, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
70618 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E11100, readSize=0x10000, bufferSize=0x56494, fileSize=0x56494
135833 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E25B80, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
208615 [CWave::MainProc] INFO hle.sceAtrac3plus - hleAtracSetData atracID=0, buffer=0x09E25B80, readSize=0x8000, bufferSize=0x56494, fileSize=0x56494
This time the buffer switched for some odd reason. bufferSize and fileSize stayed the same. Observations regarding readSize were confirmed.