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 

Problem with simple MP3 player!!!

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



Joined: 15 Jun 2008
Posts: 121

PostPosted: Fri Jul 18, 2008 6:25 am    Post subject: Problem with simple MP3 player!!! Reply with quote

I have to load with a function a MP3 file everytime that I want it, so I've writed it:
Code:

int Music_player(char* fileName)
{
    if(inited==1){ MP3_End(); inited=0; }
    MP3_Init(1);
    MP3_Load(fileName);
    MP3_Play();
    inited=1;
    return 0;
}

But with this func I can't load more than 1 file, ( if I try to load more files the psp crash!!! )...
However if there is another simple MP3 lib I can use it!
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