fill-in undeclared variable, refs #192
This commit is contained in:
parent
e700f0a9e4
commit
0f4b8dc794
@ -193,6 +193,7 @@ AudioEngine.prototype.resetStats = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
AudioEngine.prototype.setupResampling = function() { //both at the server and the client
|
AudioEngine.prototype.setupResampling = function() { //both at the server and the client
|
||||||
|
var targetRate = this.audioContext.sampleRate;
|
||||||
var audio_params = this.findRate(8000, 12000);
|
var audio_params = this.findRate(8000, 12000);
|
||||||
if (!audio_params) {
|
if (!audio_params) {
|
||||||
this.resamplingFactor = 0;
|
this.resamplingFactor = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user