mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 21:53:59 +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
|
* @property {number} startTime
|
||||||
*/
|
*/
|
||||||
this.startTime = 0;
|
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.muteNode.connect(this.volumeNode);
|
||||||
this.volumeNode.connect(manager.destination);
|
this.volumeNode.connect(manager.destination);
|
||||||
if (config === void 0) {
|
if (config === void 0) {
|
||||||
|
|
Loading…
Reference in a new issue