From f2d284989be39e15e87654c43b443d561e7eab90 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 5 Sep 2020 22:10:23 +0200 Subject: [PATCH] add exceptional bandwidth for drm --- htdocs/lib/Demodulator.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/lib/Demodulator.js b/htdocs/lib/Demodulator.js index 2216f7e..a1f3798 100644 --- a/htdocs/lib/Demodulator.js +++ b/htdocs/lib/Demodulator.js @@ -9,6 +9,8 @@ Filter.prototype.getLimits = function() { max_bw = 12500; } else if (this.demodulator.get_modulation() === 'wfm') { max_bw = 80000; + } else if (this.demodulator.get_modulation() === 'drm') { + max_bw = 100000; } else { max_bw = (audioEngine.getOutputRate() / 2) - 1; }