craftyjs/Crafty — pull request #823 by heniotierra (2014-10-02 19:24:25+00:00)
Title: added 'atTime' feature to audio.play

This PR makes it possible to define a time (audio reproduction time range) at which the sound should be repeated. It allows you to force a seemless/gapless sound loop, even with your browser's limitations (the delay that occurs in most if not all systems between the end of the execution of the audio 'iteration' and the proper restart). Works even if your file has a gap at the end.