From b3f5b03e6f21deac476f0d4e2c79c67f87e7f889 Mon Sep 17 00:00:00 2001 From: Pavle Goloskokovic Date: Tue, 5 Dec 2017 20:20:33 +0100 Subject: [PATCH] Calling getCurrentTime directly when setting seek as paused time since we don't want to self-assign it --- v3/src/sound/webaudio/WebAudioSound.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/src/sound/webaudio/WebAudioSound.js b/v3/src/sound/webaudio/WebAudioSound.js index 1ea597b19..350de7a54 100644 --- a/v3/src/sound/webaudio/WebAudioSound.js +++ b/v3/src/sound/webaudio/WebAudioSound.js @@ -83,7 +83,7 @@ var WebAudioSound = new Class({ } // \/\/\/ isPlaying = false, isPaused = true \/\/\/ this.stopAndRemoveBufferSource(); - this.currentConfig.seek = this.seek; // Equivalent to setting paused time + this.currentConfig.seek = this.getCurrentTime(); // Equivalent to setting paused time return true; }, resume: function () {