mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +00:00
added pausedTime field to WebAudioSound class
This commit is contained in:
parent
f1a15571ff
commit
f7f5bebd72
1 changed files with 7 additions and 0 deletions
|
@ -39,6 +39,13 @@ var WebAudioSound = new Class({
|
|||
* @property {number} startTime
|
||||
*/
|
||||
this.startTime = 0;
|
||||
/**
|
||||
* Relative time when sound was paused.
|
||||
* Corresponds to the seek value at the time when pause() method was called on this sound.
|
||||
*
|
||||
* @property {number} pausedTime
|
||||
*/
|
||||
this.pausedTime = 0;
|
||||
this.muteNode.connect(this.volumeNode);
|
||||
this.volumeNode.connect(manager.destination);
|
||||
if (config === void 0) {
|
||||
|
|
Loading…
Reference in a new issue