Skip to content

Commit f204919

Browse files
Pasing reference to sound manager when emitting rate event
1 parent c715a8a commit f204919

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
@@ -330,7 +330,7 @@ Object.defineProperty(BaseSoundManager.prototype, 'rate', {
330330
this.forEachActiveSound(function (sound) {
331331
sound.setRate();
332332
});
333-
this.emit('rate', value);
333+
this.emit('rate', this, value);
334334
}
335335
});
336336
/**

0 commit comments

Comments
 (0)