Skip to content

Commit d464531

Browse files
Added startTime property to keep track of the time when the sound actually started playing music
1 parent 52d2be6 commit d464531

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

v3/src/sound/webaudio/WebAudioSound.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ var WebAudioSound = new Class({
4747
* @property {number} playTime
4848
*/
4949
this.playTime = 0;
50+
/**
51+
* [description]
52+
*
53+
* @private
54+
* @property {number} startTime
55+
*/
56+
this.startTime = 0;
5057
/**
5158
* An array where we keep track of all rate updates during playback.
5259
*

0 commit comments

Comments
 (0)