mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Added resetConfig method where seek config, and later delay config, are reset
This commit is contained in:
parent
b2950775a1
commit
344aec2b86
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue