Skip to content

Commit 7c715f1

Browse files
Removed detune property since it is already implemented in BaseSound class
1 parent be713af commit 7c715f1

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

src/sound/webaudio/WebAudioSound.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -432,22 +432,6 @@ Object.defineProperty(WebAudioSound.prototype, 'volume', {
432432
this.events.dispatch(new SoundValueEvent(this, 'SOUND_VOLUME', value));
433433
}
434434
});
435-
/**
436-
* Detuning of sound.
437-
*
438-
* @name Phaser.Sound.WebAudioSound#detune
439-
* @property {number} detune
440-
*/
441-
Object.defineProperty(WebAudioSound.prototype, 'detune', {
442-
get: function () {
443-
return this.currentConfig.detune;
444-
},
445-
set: function (value) {
446-
this.currentConfig.detune = value;
447-
this.setRate();
448-
this.events.dispatch(new SoundValueEvent(this, 'SOUND_DETUNE', value));
449-
}
450-
});
451435
/**
452436
* Current position of playing sound.
453437
*

0 commit comments

Comments
 (0)