Skip to content

Commit a2fdf7c

Browse files
Added stopAndReleaseAudioTag method docs
1 parent 3f6df08 commit a2fdf7c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/sound/html5/HTML5AudioSound.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,12 @@ var HTML5AudioSound = new Class({
241241
playPromise.catch(function (reason) { });
242242
}
243243
},
244+
/**
245+
* Used internally to do what the name says.
246+
*
247+
* @private
248+
* @method Phaser.Sound.HTML5AudioSound#stopAndReleaseAudioTag
249+
*/
244250
stopAndReleaseAudioTag: function () {
245251
this.audio.pause();
246252
this.audio.dataset.used = 'false';

0 commit comments

Comments
 (0)