You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sound/webaudio/WebAudioSound.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -125,17 +125,17 @@ var WebAudioSound = new Class({
125
125
* @method Phaser.Sound.WebAudioSound#play
126
126
* @param {string} [markerName=''] - If you want to play a marker then provide the marker name here, otherwise omit it to play the full sound.
127
127
* @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.
128
-
* @returns {Phaser.Sound.WebAudioSound | null} This sound instance or 'null' if an error occurred.
128
+
* @returns {boolean} Whether the sound started playing successfully.
0 commit comments