| View previous topic :: View next topic |
| Author |
Message |
tobiasbp
Joined: 22 Apr 2006 Posts: 5 Location: Denmark
|
Posted: Sun Apr 23, 2006 7:33 am Post subject: Adding sound to C project? Should I use SDL? |
|
|
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 |
|
 |
starman2049
Joined: 19 Sep 2005 Posts: 75
|
Posted: Sun Apr 23, 2006 7:51 am Post subject: |
|
|
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 |
|
 |
Art
Joined: 09 Nov 2005 Posts: 647
|
Posted: Tue Apr 25, 2006 2:25 pm Post subject: |
|
|
I was pretty impressed with Mikmod once I got it working.
That's the library LUA uses for sound. |
|
| Back to top |
|
 |
|