Search found 5 matches

by Gan Quan
Fri Sep 22, 2006 4:51 pm
Forum: PSP Development
Topic: Only 16-bit PCM output can be played?
Replies: 1
Views: 1056

Only 16-bit PCM output can be played?

I'm working on my mp3 player recently, but I have no experience with audio programming before, so I did a bit of research on available open sourced media players for PSP. After several hours of learning, I started to get some clues, and (with code from here and there) I finished a demo program to pl...
by Gan Quan
Thu Sep 21, 2006 12:00 pm
Forum: PSP Development
Topic: Need help, pspAudioSetChannelCallback()
Replies: 3
Views: 1502

Emm.. you are right, I misunderstood the meaning of "channel", acutally I know little about programming multimedia devices, so, way to go, hehe.

Thanks for your reply, I can go back to my kill-them-all psp application now ;)
by Gan Quan
Tue Sep 19, 2006 10:02 pm
Forum: PSP Development
Topic: Need help, pspAudioSetChannelCallback()
Replies: 3
Views: 1502

Need help, pspAudioSetChannelCallback()

Say, I have an audio file with 2 channels, do I need to call pspAudioSetChannelCallback() function for each channel of the audio file? I tested to call it just once: pspAudioSetChannelCallback(0, callback, 0); it sounded like both channels were playbacked. then pspAudioSetChannelCall...
by Gan Quan
Mon Sep 18, 2006 8:09 pm
Forum: PSP Development
Topic: Linker errors after adding new library
Replies: 7
Views: 2280

Make sure you're linking in this order: LIBS = -lmad -lpspaudiolib -lpspaudio Thanks!! it works now!! For people who encountered this problem (and, new to unix c programming, having no clue about writing Makefiles, like me), I just added "LIBS = -lmad -lpspaudiolib -lpapaudio" in my Makef...
by Gan Quan
Mon Sep 18, 2006 6:55 pm
Forum: PSP Development
Topic: Linker errors after adding new library
Replies: 7
Views: 2280

I've just donwloaded libmad from the svn repository, installed it, and tried to build a test program, the same problem poped up. The code is compiled just fine, but the linker throws out "undefined reference to function" errors for each function of libmad. It's been a long time since ColdP...