- fixed the lib to play WAV file (erased too much things in a previous update)
- Updated wav sfx to be playable on the PSP (need to update the lib to accept more formats ?)
- There is still a bug with sfx on the PSP, I suspect I'm erasing files while they are being played !
This commit is contained in:
wagic.the.homebrew
2008-11-26 11:17:05 +00:00
parent 886507c525
commit 4e0f87a43b
26 changed files with 60 additions and 52 deletions

View File

@@ -388,11 +388,15 @@ void audioInit() //
p_currentWav[i] = NULL;
}
JMP3::init();
pspAudioInit();
pspAudioSetChannelCallback(0, audioOutCallback_0, NULL);
pspAudioSetChannelCallback(1, audioOutCallback_1, NULL);
pspAudioSetChannelCallback(2, audioOutCallback_2, NULL);
}
void audioDestroy()
{
pspAudioEnd();
}