This commit is contained in:
Jakob Ketterl 2020-12-30 18:05:10 +01:00
parent 341b94b9ff
commit 68fcb8522e

View File

@ -724,7 +724,7 @@ function on_ws_recv(evt) {
center_freq = config['center_freq']; center_freq = config['center_freq'];
if ('fft_size' in config) if ('fft_size' in config)
fft_size = config['fft_size']; fft_size = config['fft_size'];
if ('audio_compresion' in config) { if ('audio_compression' in config) {
var audio_compression = config['audio_compression']; var audio_compression = config['audio_compression'];
audioEngine.setCompression(audio_compression); audioEngine.setCompression(audio_compression);
divlog("Audio stream is " + ((audio_compression === "adpcm") ? "compressed" : "uncompressed") + "."); divlog("Audio stream is " + ((audio_compression === "adpcm") ? "compressed" : "uncompressed") + ".");