From 0f4b8dc79437fc2707c048c91cd4d926e28f5e78 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Wed, 4 Nov 2020 22:38:24 +0100 Subject: [PATCH] fill-in undeclared variable, refs #192 --- htdocs/lib/AudioEngine.js | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/lib/AudioEngine.js b/htdocs/lib/AudioEngine.js index da6663c..9434c83 100644 --- a/htdocs/lib/AudioEngine.js +++ b/htdocs/lib/AudioEngine.js @@ -193,6 +193,7 @@ AudioEngine.prototype.resetStats = function() { }; AudioEngine.prototype.setupResampling = function() { //both at the server and the client + var targetRate = this.audioContext.sampleRate; var audio_params = this.findRate(8000, 12000); if (!audio_params) { this.resamplingFactor = 0;