mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +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