permit increased bandwidth for WFM

This commit is contained in:
Jakob Ketterl 2020-08-08 22:04:10 +02:00
parent 8c5a7a087f
commit 69a12650d2

View File

@ -7,6 +7,8 @@ Filter.prototype.getLimits = function() {
var max_bw; var max_bw;
if (this.demodulator.get_secondary_demod() === 'pocsag') { if (this.demodulator.get_secondary_demod() === 'pocsag') {
max_bw = 12500; max_bw = 12500;
} else if (this.demodulator.get_modulation() === 'wfm') {
max_bw = 80000;
} else { } else {
max_bw = (audioEngine.getOutputRate() / 2) - 1; max_bw = (audioEngine.getOutputRate() / 2) - 1;
} }