Skip to content

Commit 90d2e8c

Browse files
Removed setting duration setting in config for WebAudioSound
1 parent 1296dd7 commit 90d2e8c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ var WebAudioSound = new Class({
5151
// TODO add duration and total duration
5252
this.muteNode.connect(this.volumeNode);
5353
this.volumeNode.connect(manager.destination);
54-
if (config === void 0) {
55-
config = {};
56-
}
57-
config.duration = this.audioBuffer.duration;
5854
BaseSound.call(this, manager, key, config);
5955
},
6056
play: function (marker, config) {

0 commit comments

Comments
 (0)