Skip to content

Commit 39c35f1

Browse files
Passing reference to sound manager when emitting detune event
1 parent f204919 commit 39c35f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sound/BaseSoundManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Object.defineProperty(BaseSoundManager.prototype, 'detune', {
348348
this.forEachActiveSound(function (sound) {
349349
sound.setRate();
350350
});
351-
this.emit('detune', value);
351+
this.emit('detune', this, value);
352352
}
353353
});
354354
module.exports = BaseSoundManager;

0 commit comments

Comments
 (0)