Skip to content

Commit 7dd0a87

Browse files
Save sound current time instead of context current time
1 parent 54f5e61 commit 7dd0a87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ var WebAudioSound = new Class({
174174
this.source.playbackRate.setValueAtTime(this.totalRate, 0);
175175
}
176176
this.rateUpdates.push({
177-
time: this.manager.context.currentTime,
177+
time: this.manager.context.currentTime - this.startTime,
178178
rate: this.totalRate
179179
});
180180
}

0 commit comments

Comments
 (0)