mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 13:43:26 +00:00
added volumeNode field for WebAudioSound class
This commit is contained in:
parent
6811ba56a5
commit
c4f09de225
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@ var WebAudioSound = new Class({
|
|||
console.error('No audio loaded in cache with key: \'' + key + '\'!');
|
||||
return;
|
||||
}
|
||||
/**
|
||||
* [description]
|
||||
*
|
||||
* @property {GainNode} volumeNode
|
||||
*/
|
||||
this.volumeNode = manager.context.createGain();
|
||||
if (config === void 0) {
|
||||
config = {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue