mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
setting startTime to context current time on play for WebAudioSound
This commit is contained in:
parent
7f0930eec0
commit
f1a15571ff
1 changed files with 1 additions and 0 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue