Skip to content

Commit 53dbf05

Browse files
Marked a few methods as private
1 parent 995f04f commit 53dbf05

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

v3/src/sound/BaseSound.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,9 @@ var BaseSound = new Class({
245245
this.isPaused = false;
246246
return true;
247247
},
248+
/**
249+
* @private
250+
*/
248251
applyConfig: function () {
249252
this.mute = this.currentConfig.mute;
250253
this.volume = this.currentConfig.volume;

v3/src/sound/webaudio/WebAudioSoundManager.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ var WebAudioSoundManager = new Class({
5757
this.unlock();
5858
BaseSoundManager.call(this, game);
5959
},
60+
/**
61+
* @private
62+
* @param game
63+
* @returns {AudioContext}
64+
*/
6065
createAudioContext: function (game) {
6166
var audioConfig = game.config.audio;
6267
if (audioConfig && audioConfig.context) {
@@ -69,6 +74,9 @@ var WebAudioSoundManager = new Class({
6974
this.sounds.push(sound);
7075
return sound;
7176
},
77+
/**
78+
* @private
79+
*/
7280
unlock: function () {
7381
var _this = this;
7482
if (this.context.state === 'suspended') {

0 commit comments

Comments
 (0)