setting startTime to context current time on play for WebAudioSound

This commit is contained in:
Pavle Goloskokovic 2017-11-17 15:29:49 +01:00
parent 7f0930eec0
commit f1a15571ff

View file

@ -59,6 +59,7 @@ var WebAudioSound = new Class({
this.source.connect(this.muteNode);
this.applyConfig();
this.source.start();
this.startTime = this.manager.context.currentTime;
return this;
},
pause: function () {