Search found 10 matches

by jesil
Mon Jan 25, 2010 4:06 pm
Forum: PSP Development
Topic: Multi-thread in PSP failed . Need help
Replies: 9
Views: 5759

Ok, i've read your problem,But i can just explain the few things you mentioned above. Althougn psp support multithread working ,it doesn't mean that it can run two thread at the same time.When a thread is runing ,other threads can not make any function.The Other threads wait until the run...
by jesil
Wed Jun 10, 2009 8:04 pm
Forum: PSP Development
Topic: Question about mp3 sample in the pspsdk
Replies: 0
Views: 924

Question about mp3 sample in the pspsdk

Few days ago ,i refered to the pspsdk and found mp3 sample written by Raphael.So i add the mp3 playing function to my program .It works fine,but i found it can only play one music at the same time. So is there any method to play other sound while mp3's playing. I try to replace sceAudioSRCChRelease/...
by jesil
Tue Jun 02, 2009 3:56 pm
Forum: PSP Development
Topic: Multi-thread in PSP failed . Need help
Replies: 9
Views: 5759

And in this mp3 playing thread ,it needs about 100000us delay
by jesil
Tue Jun 02, 2009 3:47 pm
Forum: PSP Development
Topic: Multi-thread in PSP failed . Need help
Replies: 9
Views: 5759

Ok it's me .Finally I figure it out . We should call sceKernelDelayThread() to delay the current thread and let the thread which you want to start run. And in my Music playing thread . I should add delay time to a certain amount , and thus the thread can run perfectly. Maybe different threads demand...
by jesil
Tue Jun 02, 2009 12:20 am
Forum: PSP Development
Topic: Multi-thread in PSP failed . Need help
Replies: 9
Views: 5759

THX for Torch reply. So it means in the PSP,it cannot run two threads at the same time .should i add scekerneldelaythread or other functions to delay music thread and let main thread run. i ajust my code . and the new code are as follows : int PlayMusicThread(SceSize input_lenth, void *input...
by jesil
Mon Jun 01, 2009 10:54 pm
Forum: PSP Development
Topic: While Installing SDL_image failed
Replies: 2
Views: 1279

Yes , i find the problem , i failed while installing SDL,so failed in other libs.THX for your help
by jesil
Mon Jun 01, 2009 10:40 pm
Forum: PSP Development
Topic: Multi-thread in PSP failed . Need help
Replies: 9
Views: 5759

Multi-thread in PSP failed . Need help

Hi ,I am writing an game engine on psp. I need to play music in my game . So i study the mp3 sample in the PSPSDK wrote by raphael. Then i want to create a thread to deal with playing music while i can do something else in the game. But when i start the thread , it freeze . I don't know why. Please ...
by jesil
Mon Feb 23, 2009 10:25 pm
Forum: PSP Development
Topic: While Installing SDL_image failed
Replies: 2
Views: 1279

While Installing SDL_image failed

I follow the steps like this ./autogen.sh LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \ ./configure --host psp --with-sdl-prefix=$(psp-config --psp-prefix) \ --prefix=$(psp-config --psp-prefix) But when i went into the steps like ./configure configure: WARNING: If you wanted ...
by jesil
Thu Feb 19, 2009 6:39 pm
Forum: PSP Development
Topic: Ubuntu Question about zilib
Replies: 3
Views: 1507

Thank you for your replying.
You haven't set up the path correctly :)
But
I have set up the path before.If i run other makefiles,they works.The other makefiles also included "PSPSDK=$(shell psp-config --pspsdk-path)".This only happened in zlib and libpng's makefile.
by jesil
Thu Feb 19, 2009 4:21 pm
Forum: PSP Development
Topic: Ubuntu Question about zilib
Replies: 3
Views: 1507

Ubuntu Question about zilib

When i was trying to install zlib,i found the first sentence of makefile was like this "PSPSDK=$(shell psp-config --pspsdk-path)".But when i was doing "make install" ,the system suggests that psp-config not found.So i go to terminal ,and input "psp-config".i found it wo...