We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70a07ed commit 031f409Copy full SHA for 031f409
1 file changed
v3/src/sound/WebAudioSoundManager.js
@@ -7,10 +7,17 @@ var WebAudioSoundManager = new Class({
7
initialize: function WebAudioSoundManager(game) {
8
BaseSoundManager.call(this, game);
9
/**
10
- * @property {AudioContext} context - The AudioContext being used for playback.
11
- * @default
+ * The AudioContext being used for playback.
+ *
12
+ * @property {AudioContext} context
13
*/
14
this.context = this.createAudioContext();
15
+ /**
16
+ * [description]
17
18
+ * @property {GainNode} masterVolumeNode
19
+ */
20
+ this.masterVolumeNode = this.context.createGain();
21
},
22
createAudioContext: function () {
23
var audioConfig = this.game.config.audio;
0 commit comments