08-17-2010, 07:53 PM
It uses sceAtrac3plus functions, but only uncompressed or ATRAC3 audio. Enabling the Media Engine option appears not to affect it at all, other than making the emulator fail if it doesn't find xuggle.
Specifically, it plays two streams (music and speech), and uses sceAtracSetHalfwayBuffer to set the music one up as well as sceAtracSetLoopNum to loop it. It doesn't seem to want to use sceAtracAddStreamData, and the HalfwayBuffer is 64KiB although the initial data is 24KiB, so I'm guessing there's some implicitly synchronized double buffering that needs to be done right.
Also, in my initial tests on a Windows machine, sound effects played just fine; on my Linux/amd64 machine, they don't seem to play at all, and I can't start the game from the first menu. Sound itself does work, considering that my patched AtracCodec.java makes the music play.
Specifically, it plays two streams (music and speech), and uses sceAtracSetHalfwayBuffer to set the music one up as well as sceAtracSetLoopNum to loop it. It doesn't seem to want to use sceAtracAddStreamData, and the HalfwayBuffer is 64KiB although the initial data is 24KiB, so I'm guessing there's some implicitly synchronized double buffering that needs to be done right.
Also, in my initial tests on a Windows machine, sound effects played just fine; on my Linux/amd64 machine, they don't seem to play at all, and I can't start the game from the first menu. Sound itself does work, considering that my patched AtracCodec.java makes the music play.