From 874b3d5bc19fcff4a57e9cdd227e54af35fb9476 Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Wed, 17 Jan 2018 17:23:04 +0100 Subject: [PATCH] Defined detune property getter --- src/sound/html5/HTML5AudioSound.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sound/html5/HTML5AudioSound.js b/src/sound/html5/HTML5AudioSound.js index 1dde8fc53..9b908f83b 100644 --- a/src/sound/html5/HTML5AudioSound.js +++ b/src/sound/html5/HTML5AudioSound.js @@ -345,6 +345,9 @@ Object.defineProperty(HTML5AudioSound.prototype, 'rate', { * @property {number} detune */ Object.defineProperty(HTML5AudioSound.prototype, 'detune', { + get: function () { + return Object.getOwnPropertyDescriptor(BaseSound.prototype, 'detune').get.call(this); + }, set: function (value) { this.currentConfig.detune = value; if (this.checkTouchLocked('property', 'detune', value)) {