Skip to content

Commit f1a1557

Browse files
setting startTime to context current time on play for WebAudioSound
1 parent 7f0930e commit f1a1557

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ var WebAudioSound = new Class({
5959
this.source.connect(this.muteNode);
6060
this.applyConfig();
6161
this.source.start();
62+
this.startTime = this.manager.context.currentTime;
6263
return this;
6364
},
6465
pause: function () {

0 commit comments

Comments
 (0)