add exceptional bandwidth for drm

This commit is contained in:
Jakob Ketterl 2020-09-05 22:10:23 +02:00
parent 3f01fc6d67
commit f2d284989b

View File

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