Code: Select all
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();