File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff 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' ) {
You can’t perform that action at this time.
0 commit comments