Skip to content

Commit 9a4811d

Browse files
Emitting loop event when sound loop setting value changes
1 parent 8b676cf commit 9a4811d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sound/webaudio/WebAudioSound.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,7 @@ Object.defineProperty(WebAudioSound.prototype, 'loop', {
485485
this.createAndStartLoopBufferSource();
486486
}
487487
}
488+
this.emit('loop', this, value);
488489
}
489490
});
490491
module.exports = WebAudioSound;

0 commit comments

Comments
 (0)