Skip to content

Commit 47522af

Browse files
Reordering setting loop value in applyConfig before rate and detune to enable rate and detune to update loop source as well
1 parent c06a2bc commit 47522af

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

v3/src/sound/BaseSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ var BaseSound = new Class({
263263
applyConfig: function () {
264264
this.mute = this.currentConfig.mute;
265265
this.volume = this.currentConfig.volume;
266+
this.loop = this.currentConfig.loop;
266267
this.rate = this.currentConfig.rate;
267268
this.detune = this.currentConfig.detune;
268269
// TODO assign other config values to buffer source

0 commit comments

Comments
 (0)