Skip to content

Commit 2d20759

Browse files
Fixed ms to s conversion for delay value when setting start time for delayed playback
1 parent 65538e3 commit 2d20759

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ var HTML5AudioSound = new Class({
116116
}
117117
}
118118
else {
119-
this.startTime = window.performance.now() + delay;
119+
this.startTime = window.performance.now() + delay * 1000;
120120
if (!this.audio.paused) {
121121
this.audio.pause();
122122
}

0 commit comments

Comments
 (0)