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 

Adding sound to C project? Should I use SDL?

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



Joined: 22 Apr 2006
Posts: 5
Location: Denmark

PostPosted: Sun Apr 23, 2006 7:33 am    Post subject: Adding sound to C project? Should I use SDL? Reply with quote

Hello.....

I have my PSP first game up and running. It's programmed in C. I want to add sound, but I am not sure where to look. Should I use the functions available in PSPSDK or should I look at SDL/SDL_MIXER? The audio-related info I have found seems overly complicated for what I want to do.

Thanks
Back to top
View user's profile Send private message
starman2049



Joined: 19 Sep 2005
Posts: 75

PostPosted: Sun Apr 23, 2006 7:51 am    Post subject: Reply with quote

Unless I missed something there is no turn-key solution on PSP - except using opensource stuff like SDL, etc. I *think* Lua project supports audio playback too.

I thought that since the PSP is such a powerful multimedia device that it would have built-in support for playing .WAV, MP3/4, etc with one call, but like I said unless I missed something it does not.

I did not want to use SDL for my own personal reasons, so I wrote my own tight/lean library that uses only libpspaudio. Sometime after E3 I will try to isolate it from the rest of my source and post it but I can't do it right now.

moonlight cracked the ATRAC3 stuff, but he just did it so it may or may not be ready for new user use yet.

good luck...
Back to top
View user's profile Send private message
Art



Joined: 09 Nov 2005
Posts: 647

PostPosted: Tue Apr 25, 2006 2:25 pm    Post subject: Reply with quote

I was pretty impressed with Mikmod once I got it working.
That's the library LUA uses for sound.
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