Added resetConfig method where seek config, and later delay config, are reset

This commit is contained in:
Pavle Goloskokovic 2017-12-05 19:40:25 +01:00
parent b2950775a1
commit 344aec2b86

View file

@ -260,6 +260,13 @@ var BaseSound = new Class({
this.detune = this.currentConfig.detune;
// TODO assign other config values to buffer source
},
/**
* @protected
*/
resetConfig: function () {
this.currentConfig.seek = 0;
// TODO add delay
},
fadeTo: function (volume, duration) {
return null;
},