Search found 4 matches

by wxnlyq
Fri Oct 03, 2008 7:32 pm
Forum: PSP Development
Topic: SDK Updated with sceMp3 stubs+headers
Replies: 30
Views: 23531

Hi! :) 1、Why I can't use a relative path to open a file? Did you try to change the current dir with sceIoChdir to be sure that the current directory is what you think? Ciaooo Sakya music.mp3 is located in the directory where my EBOOT.PBP exits. In the main, I can use sceIoOpen("musi...
by wxnlyq
Fri Oct 03, 2008 1:49 pm
Forum: PSP Development
Topic: SDK Updated with sceMp3 stubs+headers
Replies: 30
Views: 23531

I set the filepath to be absolute and now it can be run in a thread. But when MyCallbackThread and MyCallbackThread1 are run at the same time, problem occurs. 1&#12289;Why I can't use a relative path to open a file? 2&#12289;Can't pspmp3 lib be used in multithread? #include <pspkernel.h> #in...
by wxnlyq
Fri Oct 03, 2008 1:17 pm
Forum: PSP Development
Topic: SDK Updated with sceMp3 stubs+headers
Replies: 30
Views: 23531

In the sample code, sceAudioSRCOutputBlocking is used to send the audio data. When I try to change the sceAudioSRCChRelease/sceAudioSRCChReserve/sceAudioSRCOutputBlocking to sceAudioChRelease/sceAudioChReserve/sceAudioOutputBlocking, the sound comes to noise. How can I use sceAudioOutputBlocking to ...
by wxnlyq
Fri Oct 03, 2008 1:04 pm
Forum: PSP Development
Topic: SDK Updated with sceMp3 stubs+headers
Replies: 30
Views: 23531

I've been succeed to play a mp3 file using the pspmp3 lib. But when I try to run it in a separate thread, it failed(PSP is shutdown). It seem that when sceIoOpen is called, some error occurs. Why I can't open a file in the thread? Because the sample code is written to play a single file, but I want ...