Adding sound to C project? Should I use SDL?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
tobiasbp
Posts: 5
Joined: Sat Apr 22, 2006 7:53 pm
Location: Denmark

Adding sound to C project? Should I use SDL?

Post by tobiasbp »

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
starman2049
Posts: 75
Joined: Mon Sep 19, 2005 5:41 am

Post by starman2049 »

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...
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Post by Art »

I was pretty impressed with Mikmod once I got it working.
That's the library LUA uses for sound.
Post Reply