From aa503131a4dafc7f45ad6f51e2421a6981c49604 Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Tue, 5 Dec 2017 19:44:37 +0100 Subject: [PATCH] Returning value from getCurrentTime in seek property getter --- v3/src/sound/webaudio/WebAudioSound.js | 1 + 1 file changed, 1 insertion(+) diff --git a/v3/src/sound/webaudio/WebAudioSound.js b/v3/src/sound/webaudio/WebAudioSound.js index 85464eeee..c54067f73 100644 --- a/v3/src/sound/webaudio/WebAudioSound.js +++ b/v3/src/sound/webaudio/WebAudioSound.js @@ -265,6 +265,7 @@ Object.defineProperty(WebAudioSound.prototype, 'detune', { */ Object.defineProperty(WebAudioSound.prototype, 'seek', { get: function () { + return this.getCurrentTime(); }, set: function (value) { }