Skip to content

Commit 4e0c274

Browse files
No need to reset config seek value since it is reset in resetConfig method
1 parent 44ce0ed commit 4e0c274

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ var WebAudioSound = new Class({
101101
// \/\/\/ isPlaying = false, isPaused = false \/\/\/
102102
this.stopAndRemoveBufferSource();
103103
this.startTime = 0;
104-
this.currentConfig.seek = 0;
105104
return true;
106105
},
107106
/**
@@ -115,7 +114,6 @@ var WebAudioSound = new Class({
115114
var offset = (this.currentMarker ? this.currentMarker.start : 0) + seek;
116115
var duration = this.duration - seek;
117116
this.startTime = this.manager.context.currentTime - seek;
118-
this.currentConfig.seek = 0;
119117
this.source = this.manager.context.createBufferSource();
120118
this.source.buffer = this.audioBuffer;
121119
this.source.connect(this.muteNode);

0 commit comments

Comments
 (0)