We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d464531 commit b087a92Copy full SHA for b087a92
1 file changed
v3/src/sound/webaudio/WebAudioSound.js
@@ -122,7 +122,8 @@ var WebAudioSound = new Class({
122
var when = this.manager.context.currentTime + delay;
123
var offset = (this.currentMarker ? this.currentMarker.start : 0) + seek;
124
var duration = this.duration - seek;
125
- this.playTime = this.manager.context.currentTime - seek;
+ this.playTime = when - seek;
126
+ this.startTime = when;
127
this.source = this.manager.context.createBufferSource();
128
this.source.buffer = this.audioBuffer;
129
this.source.connect(this.muteNode);
0 commit comments