Noticeable pause between first mp3 play and continuation of loop

It looks like Corona is waiting for the mp3 to load before continuing on the the loop, this can cause a noticeable pause if say it happens during a game or animation. It only happens on the first play of the mp3 as subsequent plays im assuming the mp3 is loaded by the iPhone.

Workaround if you only need to play one mp3 as you can preload it before the game starts
media.playSound(“sound.mp3”)
media.stopSound()

It gets the iphone to load the sound and then corona stops the sound in the same loop so it never plays

It would be better if Corona didnt wait for the sound to load before resuming the loop (unless its the OS hanging of course)

Can be seen on the different corona releases but it only noticeable on the device as the simulator runs much faster [import]uid: 5354 topic_id: 1080 reply_id: 301080[/import]

I just logged this as bug #226. We’ll be looking into it.

Thanks,
Gilbert [import]uid: 5917 topic_id: 1080 reply_id: 2716[/import]