2DWorlds Forums
There is a very noticable delay when playing/looping MP3s - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Bug Reports (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=23)
+--- Thread: There is a very noticable delay when playing/looping MP3s (/showthread.php?tid=79)



There is a very noticable delay when playing/looping MP3s - Ghosty - 11-16-2012

I created this test loop sound to see if I could successfully loop an MP3. But, as I partially suspected, there is a delay of around half a second between the game being told to play the sound, and actually playing it, including during looping. However, the same sound as a WAVE file loops just fine.

Is there a way to fix this or is the MP3 player in Buildism just not up to it?


RE: There is a very noticable delay when playing/looping MP3s - Jacob__mybb_import1 - 11-16-2012

The terrible MP3 player I use doesn't preload anything, so sounds are actually streamed from the internet every time you play them - the delay is due to it having to open a connection every time. I'm trying to work around this since it will also fix the bug with your piano script.