Dispatching event when sound detune value changes

This commit is contained in:
Pavle Goloskokovic 2018-01-03 21:26:49 +01:00
parent de8919645a
commit dc796465b7

View file

@ -377,6 +377,7 @@ Object.defineProperty(WebAudioSound.prototype, 'detune', {
set: function (value) {
this.currentConfig.detune = value;
this.setRate();
this.events.dispatch(new SoundValueEvent(this, 'SOUND_DETUNE', value));
}
});
/**