diff --git a/src/sound/BaseSoundManager.js b/src/sound/BaseSoundManager.js index 602ca855e..25c3c1732 100644 --- a/src/sound/BaseSoundManager.js +++ b/src/sound/BaseSoundManager.js @@ -458,7 +458,7 @@ var BaseSoundManager = new Class({ * * @method Phaser.Sound.BaseSoundManager#setAudioDestination * @override - * @since 3.6.0 + * @since 3.60.0 * * @param {Phaser.Types.Sound.SpatialSoundConfig|object} [destination] - An object with x and y fields */ diff --git a/src/sound/html5/HTML5AudioSoundManager.js b/src/sound/html5/HTML5AudioSoundManager.js index efa6e3c47..1b5f9738f 100644 --- a/src/sound/html5/HTML5AudioSoundManager.js +++ b/src/sound/html5/HTML5AudioSoundManager.js @@ -159,21 +159,6 @@ var HTML5AudioSoundManager = new Class({ return sound; }, - /** - * Sets the destination for the spatial sound. - * Currently only WebAudio is supported. - * - * @method Phaser.Sound.BaseSoundManager#setAudioDestination - * @override - * @since 3.6.0 - * - * @param {Phaser.Types.Sound.SpatialSoundConfig|object} [destination] - An object with x and y fields - */ - setAudioDestination: function () - { - - }, - /** * Unlocks HTML5 Audio loading and playback on mobile * devices on the initial explicit user interaction. diff --git a/src/sound/noaudio/NoAudioSoundManager.js b/src/sound/noaudio/NoAudioSoundManager.js index f86002c2d..7314f6626 100644 --- a/src/sound/noaudio/NoAudioSoundManager.js +++ b/src/sound/noaudio/NoAudioSoundManager.js @@ -206,22 +206,6 @@ var NoAudioSoundManager = new Class({ return BaseSoundManager.prototype.removeByKey.call(this, key); }, - /** - * Sets the destination for the spatial sound. - * Currently only WebAudio is supported. - * - * @method Phaser.Sound.BaseSoundManager#setAudioDestination - * @override - * @since 3.6.0 - * - * @param {Phaser.Types.Sound.SpatialSoundConfig|object} [destination] - An object with x and y fields - */ - setAudioDestination: function () - { - - }, - - /** * Stops any sounds matching the given key. * diff --git a/src/sound/webaudio/WebAudioSound.js b/src/sound/webaudio/WebAudioSound.js index 1644b869f..c5aa56819 100644 --- a/src/sound/webaudio/WebAudioSound.js +++ b/src/sound/webaudio/WebAudioSound.js @@ -404,7 +404,7 @@ var WebAudioSound = new Class({ * This method is only used internally and creates a PannerNode * * @method Phaser.Sound.WebAudioSound#createSpatialPanner - * @since 3.6.0 + * @since 3.60.0 */ createSpatialPanner: function (manager) { diff --git a/src/sound/webaudio/WebAudioSoundManager.js b/src/sound/webaudio/WebAudioSoundManager.js index 09254aa77..4817924cc 100644 --- a/src/sound/webaudio/WebAudioSoundManager.js +++ b/src/sound/webaudio/WebAudioSoundManager.js @@ -276,7 +276,7 @@ var WebAudioSoundManager = new Class({ * * @method Phaser.Sound.BaseSoundManager#setAudioDestination * @override - * @since 3.6.0 + * @since 3.60.0 * * @param {Phaser.Types.Sound.SpatialSoundConfig|object} [destination] - An object with x and y fields */