Skip to content

Commit 3176293

Browse files
Resetting rateUpdates before playing sound source
1 parent fb9bc44 commit 3176293

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
@@ -130,6 +130,7 @@ var WebAudioSound = new Class({
130130
this.source = this.manager.context.createBufferSource();
131131
this.source.buffer = this.audioBuffer;
132132
this.source.connect(this.muteNode);
133+
this.rateUpdates.length = 0;
133134
this.applyConfig();
134135
this.source.onended = function (ev) {
135136
if (ev.target === this.source) {

0 commit comments

Comments
 (0)