Skip to content

Commit 6ac7ed2

Browse files
Added detune event docs
1 parent 50a87d8 commit 6ac7ed2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/sound/BaseSoundManager.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,11 @@ Object.defineProperty(BaseSoundManager.prototype, 'detune', {
409409
this.forEachActiveSound(function (sound) {
410410
sound.setRate();
411411
});
412+
/**
413+
* @event Phaser.Sound.BaseSoundManager#detune
414+
* @param {Phaser.Sound.BaseSoundManager} soundManager - Reference to the sound manager that emitted event.
415+
* @param {number} value - An updated value of Phaser.Sound.BaseSoundManager#detune property.
416+
*/
412417
this.emit('detune', this, value);
413418
}
414419
});

0 commit comments

Comments
 (0)