limit freedv to 4kHz since it's audio input is only 8kHz
This commit is contained in:
parent
e5b120311d
commit
1ff3c174c2
@ -13,6 +13,8 @@ Filter.prototype.getLimits = function() {
|
|||||||
max_bw = 100000;
|
max_bw = 100000;
|
||||||
} else if (this.demodulator.get_modulation() === 'drm') {
|
} else if (this.demodulator.get_modulation() === 'drm') {
|
||||||
max_bw = 50000;
|
max_bw = 50000;
|
||||||
|
} else if (this.demodulator.get_modulation() === "freedv") {
|
||||||
|
max_bw = 4000;
|
||||||
} else {
|
} else {
|
||||||
max_bw = (audioEngine.getOutputRate() / 2) - 1;
|
max_bw = (audioEngine.getOutputRate() / 2) - 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user