PHP Code:
// Begin playing music if it has been 5 seconds
if ((sceKernelLibcClock()-start_time)>=5000000) {
printf("Music should be playing.");
MP3_Play();
}
I placed the text there to determine if it was a sound error, or programming error (that way I would know if it entered the if statement after 5 seconds). Guess what? It happened to be both!
First error: Doesn't go into the loop, but I'm pretty sure I programmed that if statement correctly (start_time is defined outside of the loop).
Second error: I encoutnered this while placing the MP3_Play() outside the if statement it displayed this:
PHP Code:
recoverable frame level error (lost synchronization)
recoverable frame level error (reserved sample frequency values)
128 kb/audio mpeg layer III steam at 44100hz
And it does NOT play any sound...
Can anybody help me with this? I've been experimenting with it for about an hour now, doesn't want to budge. It always seems that I get the errors that are impossible to find on Google... Thanks for any help you can offer