Skip to content

Commit c15afd2

Browse files
Setting loopTime to 0 when stopping and resetting loop source
1 parent 9b1db42 commit c15afd2

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
@@ -218,6 +218,7 @@ var WebAudioSound = new Class({
218218
this.loopSource.stop();
219219
this.loopSource = null;
220220
}
221+
this.loopTime = 0;
221222
},
222223
/**
223224
* @protected

0 commit comments

Comments
 (0)