mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 14:07:32 +00:00
limit freedv to 4kHz since it's audio input is only 8kHz
This commit is contained in:
parent
e5b120311d
commit
1ff3c174c2
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ Filter.prototype.getLimits = function() {
|
|||
max_bw = 100000;
|
||||
} else if (this.demodulator.get_modulation() === 'drm') {
|
||||
max_bw = 50000;
|
||||
} else if (this.demodulator.get_modulation() === "freedv") {
|
||||
max_bw = 4000;
|
||||
} else {
|
||||
max_bw = (audioEngine.getOutputRate() / 2) - 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue