libpspsnd dependancies

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

Moderators: cheriff, TyRaNiD

Post Reply
AlphaDingDong
Posts: 29
Joined: Fri Mar 21, 2008 2:51 pm
Location: The interwebs

libpspsnd dependancies

Post by AlphaDingDong »

I was browsing the svn and I saw libpspsnd. I assumed it was sound tools and grabbed it, but it looks like it has inclusions for <mikmod.h> and <string>. Anyone know what packages these are from?

Or, rather, I can use libmad well, but I wanted to add sfx support. Is libpspsnd a good lib for this or should I be using another?
pspZorba
Posts: 156
Joined: Sat Sep 22, 2007 11:45 am
Location: NY

Post by pspZorba »

<string> is the just the C++ class that manages string (replacement for char *) the lib is -lstdc++
--pspZorba--
NO to K1.5 !
AlphaDingDong
Posts: 29
Joined: Fri Mar 21, 2008 2:51 pm
Location: The interwebs

Post by AlphaDingDong »

Thanks, Zorba.

Hmm... I found libmikmod and several other utilities in an svn link in another thread.

What library do y'all people use for sound in your projects? I mean music is seems to work fine through libmad (except a little bit of popping during track changes) but is there a better mp3/music library that has greater functionality? More importantly, what's the best lib for wav/sound effect handling? I know LuaPlayerHM has trouble with delays on playing sounds. I'd like to not have to deal with that.

Opinions?
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

libmikmod and mikmodlib can play a lot of different modules, and can also be used to play mono samples.

Jim
sakya
Posts: 190
Joined: Fri Apr 28, 2006 5:48 pm
Contact:

Post by sakya »

Hi! :)
AlphaDingDong wrote:I mean music is seems to work fine through libmad
It would be better to use the Media Engine for music, LibMad uses the CPU to decode mp3.

Ciaooo
Sakya
AlphaDingDong
Posts: 29
Joined: Fri Mar 21, 2008 2:51 pm
Location: The interwebs

Post by AlphaDingDong »

Thanks, Jim. Thanks, sakya.

Any idea where I can find documentation for ME? The search wasn't very helpful.
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

AlphaDingDong wrote:Thanks, Jim. Thanks, sakya.

Any idea where I can find documentation for ME? The search wasn't very helpful.
key : "cooleyes". He has post some examples source for use of hardware decoding to play mp3, atrac, etc.

maybe some pspsdk samples already use them.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

You can also look at the code for sakya's LightMP3.
AlphaDingDong
Posts: 29
Joined: Fri Mar 21, 2008 2:51 pm
Location: The interwebs

Post by AlphaDingDong »

Super sweet. Thanks again, all.
Post Reply