Skip to content

Commit 9b1db42

Browse files
Setting playTime and startTime properties to loopTime value whe sound loops
1 parent c1688dd commit 9b1db42

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
@@ -245,6 +245,7 @@ var WebAudioSound = new Class({
245245
this.hasLooped = false;
246246
this.source = this.loopSource;
247247
this.loopSource = null;
248+
this.playTime = this.startTime = this.loopTime;
248249
this.createAndStartLoopBufferSource();
249250
}
250251
},

0 commit comments

Comments
 (0)