mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
Removed setting duration setting in config for WebAudioSound
This commit is contained in:
parent
1296dd737d
commit
90d2e8cf03
1 changed files with 0 additions and 4 deletions
|
@ -51,10 +51,6 @@ var WebAudioSound = new Class({
|
|||
// TODO add duration and total duration
|
||||
this.muteNode.connect(this.volumeNode);
|
||||
this.volumeNode.connect(manager.destination);
|
||||
if (config === void 0) {
|
||||
config = {};
|
||||
}
|
||||
config.duration = this.audioBuffer.duration;
|
||||
BaseSound.call(this, manager, key, config);
|
||||
},
|
||||
play: function (marker, config) {
|
||||
|
|
Loading…
Reference in a new issue