Erwan
- 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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user