My music plays way too fast whenever it's loaded and doesn't stop once it has ended. What do I do?
I isolated my code so I could find out what's been wrong.
I just can't find the reason. I kinda know what I need for stopping the music after it's played once but I'm not exactly sure and cannot get it to work :(
Last edited by ^L^ on Tue Aug 12, 2008 7:56 am, edited 1 time in total.
It could be that the frequency of the mp3 you're using is < 44100 hz(the default on the PSP). this would be the care (maybe) if the mp3 is mpeg 2/2.5 (mp3pro if you use yahoo/musicmatch jukebox). Solutions(if this is the problem): re-encode mp3 to 44100 hz or change the PSP audio output frequency to match the mp3.
The MP3 files all have exactly 44kHz whenever I check their properties. Would that make much of a difference? And what would I do to change the PSP's output frequency?
And I felt sooooooo dumb whenever I saw the timer variable thing. I'm such an idiot. I think if I have this in, then I wouldn't need a lastbutton variable or anything. It should also take care of playing it looped.
I'm going to recompile the program and test it out! Thanks for the help! If there's another problem with it regarding the playback, I'll post again.
Yeah, I know, it's a double post... but....
The timer thing had no effect at the stage of the development of the program.
I think right now I should figure out how to change the output frequency or look at other people's source codes to see how they did it.