@@ -308,7 +308,7 @@ class Audio extends Object3D {
308308 * Can only be used with compatible audio sources that allow playback control.
309309 *
310310 * @param {number } [delay=0] - The delay, in seconds, at which the audio should start playing.
311- * @return {Audio } A reference to this instance.
311+ * @return {Audio|undefined } A reference to this instance.
312312 */
313313 play ( delay = 0 ) {
314314
@@ -352,7 +352,7 @@ class Audio extends Object3D {
352352 *
353353 * Can only be used with compatible audio sources that allow playback control.
354354 *
355- * @return {Audio } A reference to this instance.
355+ * @return {Audio|undefined } A reference to this instance.
356356 */
357357 pause ( ) {
358358
@@ -394,7 +394,7 @@ class Audio extends Object3D {
394394 * Can only be used with compatible audio sources that allow playback control.
395395 *
396396 * @param {number } [delay=0] - The delay, in seconds, at which the audio should stop playing.
397- * @return {Audio } A reference to this instance.
397+ * @return {Audio|undefined } A reference to this instance.
398398 */
399399 stop ( delay = 0 ) {
400400
@@ -456,7 +456,7 @@ class Audio extends Object3D {
456456 * Disconnects to the audio source. This is used internally on
457457 * initialisation and when setting / removing filters.
458458 *
459- * @return {Audio } A reference to this instance.
459+ * @return {Audio|undefined } A reference to this instance.
460460 */
461461 disconnect ( ) {
462462
@@ -587,7 +587,7 @@ class Audio extends Object3D {
587587 * Can only be used with compatible audio sources that allow playback control.
588588 *
589589 * @param {number } [value] - The playback rate to set.
590- * @return {Audio } A reference to this instance.
590+ * @return {Audio|undefined } A reference to this instance.
591591 */
592592 setPlaybackRate ( value ) {
593593
@@ -657,7 +657,7 @@ class Audio extends Object3D {
657657 * Can only be used with compatible audio sources that allow playback control.
658658 *
659659 * @param {boolean } value - Whether the audio should loop or not.
660- * @return {Audio } A reference to this instance.
660+ * @return {Audio|undefined } A reference to this instance.
661661 */
662662 setLoop ( value ) {
663663
0 commit comments