forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

bizarre wavegen audio sample thread issue

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
whizz



Joined: 19 Jul 2005
Posts: 3

PostPosted: Tue Jul 19, 2005 1:54 am    Post subject: bizarre wavegen audio sample thread issue Reply with quote

Hi guys,

as a newbie to the PSP development scene, I started out learning from the samples. I was trying to add audio into my own app but run into a bizarre threading issue that was stumping me. To debug this I started tracing my steps back until all I had was the plain wavegen audio sample from the SDK that seems to start hanging if more code is added to it (!?!).

Testing this hang is very simple, if you paste the "small matrix library" functions from the bottom of GU/cube sample cube.c into wavegen main.c and compile, it starts hanging on the device. This without even calling any of the added functions! Any idea what might be going wrong?

The effect looks like some thread (I suspect the audio callback) keeps hogging up all CPU and even text prints to screen very slowly. The application gets so unresponsive that you're forced to power cycle.

I'm using the ooPo toolchain built with script on the 14th.


Cheers, any ideas appreciated
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group