Skip to content

Commit 881474b

Browse files
Added a TODO to take into account playback rate when pausing and resuming sound
1 parent ffc205b commit 881474b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ var WebAudioSound = new Class({
8888
if (!BaseSound.prototype.resume.call(this)) {
8989
return false;
9090
}
91+
// TODO take in account playback rate
9192
var offset = (this.currentMarker ? this.currentMarker.start : 0) + this.pausedTime;
9293
var duration = this.duration - this.pausedTime;
9394
this.createAndStartBufferSource(offset, duration);

0 commit comments

Comments
 (0)