added volumeNode field for WebAudioSound class

This commit is contained in:
Pavle Goloskokovic 2017-11-15 15:42:37 +01:00
parent 6811ba56a5
commit c4f09de225

View file

@ -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 = {};
}