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 

libmad help

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



Joined: 02 Oct 2005
Posts: 79

PostPosted: Mon Nov 14, 2005 3:14 am    Post subject: libmad help Reply with quote

How exactly do you get libmad to play an mp3 file? right now i have this and it doesnt seem to work:
Code:

MP3_Init(0);
MP3_Load("audiofiles/testing.mp3");
MP3_Play();
while(1) { //wait for X to be pressed
    readpad(&pad, 1);
    if(pad.Buttons & PSP_CTRL_CROSS) {
        break;
    }
}
MP3_Stop();


It doesnt even start the music. What else do i need to do?
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