Skip to content

Commit 5f18bb2

Browse files
Fixed constructor docs
1 parent a50f7ad commit 5f18bb2

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/sound/webaudio/WebAudioSound.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var BaseSound = require('../BaseSound');
2020
*
2121
* @param {Phaser.Sound.WebAudioSoundManager} manager - Reference to the current sound manager instance.
2222
* @param {string} key - Asset key for the sound.
23-
* @param {ISoundConfig} [config={}] - An optional config object containing default sound settings.
23+
* @param {SoundConfig} [config={}] - An optional config object containing default sound settings.
2424
*/
2525
var WebAudioSound = new Class({
2626

@@ -186,10 +186,10 @@ var WebAudioSound = new Class({
186186
*
187187
* @method Phaser.Sound.WebAudioSound#play
188188
* @since 3.0.0
189-
*
189+
*
190190
* @param {string} [markerName=''] - If you want to play a marker then provide the marker name here, otherwise omit it to play the full sound.
191191
* @param {ISoundConfig} [config] - Optional sound config object to be applied to this marker or entire sound if no marker name is provided. It gets memorized for future plays of current section of the sound.
192-
*
192+
*
193193
* @return {boolean} Whether the sound started playing successfully.
194194
*/
195195
play: function (markerName, config)
@@ -217,7 +217,7 @@ var WebAudioSound = new Class({
217217
*
218218
* @method Phaser.Sound.WebAudioSound#pause
219219
* @since 3.0.0
220-
*
220+
*
221221
* @return {boolean} Whether the sound was paused successfully.
222222
*/
223223
pause: function ()
@@ -250,7 +250,7 @@ var WebAudioSound = new Class({
250250
*
251251
* @method Phaser.Sound.WebAudioSound#resume
252252
* @since 3.0.0
253-
*
253+
*
254254
* @return {boolean} Whether the sound was resumed successfully.
255255
*/
256256
resume: function ()
@@ -282,7 +282,7 @@ var WebAudioSound = new Class({
282282
*
283283
* @method Phaser.Sound.WebAudioSound#stop
284284
* @since 3.0.0
285-
*
285+
*
286286
* @return {boolean} Whether the sound was stopped successfully.
287287
*/
288288
stop: function ()
@@ -350,7 +350,7 @@ var WebAudioSound = new Class({
350350
* @method Phaser.Sound.WebAudioSound#createBufferSource
351351
* @private
352352
* @since 3.0.0
353-
*
353+
*
354354
* @return {AudioBufferSourceNode}
355355
*/
356356
createBufferSource: function ()
@@ -445,7 +445,7 @@ var WebAudioSound = new Class({
445445
* @method Phaser.Sound.WebAudioSound#update
446446
* @protected
447447
* @since 3.0.0
448-
*
448+
*
449449
* @param {number} time - The current timestamp as generated by the Request Animation Frame or SetTimeout.
450450
* @param {number} delta - The delta time elapsed since the last frame.
451451
*/

0 commit comments

Comments
 (0)