When app enters suspend, I set a flag in the main app thread so it will shutdown audio and gu operations, and enter a vblank wait loop until its done. In my audio manager I do this:
Code: Select all
void stopSoundManager() {
pspAudioEndPre();
sceDisplayWaitVblankStart();
sceDisplayWaitVblankStart();
sceDisplayWaitVblankStart();
pspAudioEnd();
}
On load and resume, my sound manager loads up samples and a music loop into ram, and should immediately start playing the music loop. I see the loads off the MS, but no sound, yet everything else works. When I load the audio, I check if data was already there, free it, initialize everything to a blank state, and start over as if the app was just loaded.
Am I missing something? volume settings? those audiotN threads not behaving on me? I dont know much about the audio system, any help would be appreciated.