08-19-2011, 03:48 AM
Since I had some free time this week, I decided to track down a few sound glitches that are present in certain games.
The changes in r2251 causes sound glitches in some games such as The 3rd Birthday and Final Fantasy Type-0. It's especially noticeable in The 3rd Birthday when Aya runs around (the sound of her footsteps). It seems that some sound gets paused at inappropriate times. If the !voice.isPaused() check is removed from method mix() in jpcsp.sound.SoundMixer, then all sounds play correctly.
Another sound glitch is from way back, starting with revisions r2130 and r2151 with the addition of the bzerosequence native code sequences in Compiler.xml. The second and shorter bzeroSequence added in r2130 causes minor sound glitches in Persona 3 Portable during battle transitions. The modification added in r2151 in the first bzeroSequence causes sound glitches in Hatsune Miku Project Diva 2nd during the loading screens. For both games, the sound glitches are in the form of high pitched sound when it's supposed to be silent. Removing both bzeroSequence native code sequences from Compiler.xml gets rid of the sound glitches in both games.
The changes in r2251 causes sound glitches in some games such as The 3rd Birthday and Final Fantasy Type-0. It's especially noticeable in The 3rd Birthday when Aya runs around (the sound of her footsteps). It seems that some sound gets paused at inappropriate times. If the !voice.isPaused() check is removed from method mix() in jpcsp.sound.SoundMixer, then all sounds play correctly.
Another sound glitch is from way back, starting with revisions r2130 and r2151 with the addition of the bzerosequence native code sequences in Compiler.xml. The second and shorter bzeroSequence added in r2130 causes minor sound glitches in Persona 3 Portable during battle transitions. The modification added in r2151 in the first bzeroSequence causes sound glitches in Hatsune Miku Project Diva 2nd during the loading screens. For both games, the sound glitches are in the form of high pitched sound when it's supposed to be silent. Removing both bzeroSequence native code sequences from Compiler.xml gets rid of the sound glitches in both games.