Phaser API Documentation

  Version: 
loopEndOffset: number

Description:

A value by which we should offset the loop end marker of the looping sound to compensate for lag, caused by changing audio tag playback position, in order to achieve gapless looping.

You might need to tweak this value to get the desired results since loop lag varies depending on the browser/platform.

Type:
number
Default: 0.05
Since: 3.0.0