Skip to content

Commit c4f09de

Browse files
added volumeNode field for WebAudioSound class
1 parent 6811ba5 commit c4f09de

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

v3/src/sound/WebAudioSound.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ var WebAudioSound = new Class({
1515
console.error('No audio loaded in cache with key: \'' + key + '\'!');
1616
return;
1717
}
18+
/**
19+
* [description]
20+
*
21+
* @property {GainNode} volumeNode
22+
*/
23+
this.volumeNode = manager.context.createGain();
1824
if (config === void 0) {
1925
config = {};
2026
}

0 commit comments

Comments
 (0)