File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ var WebAudioSound = new Class({
6060 }
6161 this . stopAndRemoveBufferSource ( ) ;
6262 // TODO include config offset and marker start
63- this . createAndStartBufferSource ( 0 , this . currentConfig . duration ) ;
63+ this . createAndStartBufferSource ( 0 , this . duration ) ;
6464 this . startTime = this . manager . context . currentTime ;
6565 this . pausedTime = 0 ;
6666 return this ;
@@ -78,7 +78,7 @@ var WebAudioSound = new Class({
7878 return false ;
7979 }
8080 var offset = this . pausedTime ; // TODO include marker start time
81- var duration = this . currentConfig . duration - this . pausedTime ;
81+ var duration = this . duration - this . pausedTime ;
8282 this . createAndStartBufferSource ( offset , duration ) ;
8383 this . startTime = this . manager . context . currentTime - this . pausedTime ;
8484 this . pausedTime = 0 ;
You can’t perform that action at this time.
0 commit comments