introduce defaults layer to fix codecserver when empty
This commit is contained in:
parent
981948b708
commit
3fa3aac766
14
owrx/dsp.py
14
owrx/dsp.py
@ -319,11 +319,15 @@ class DspManager(SdrSourceEventClient):
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
# TODO wait for the rate to come from the client
|
# defaults for values that may not be set
|
||||||
if "output_rate" not in self.props:
|
self.props.addLayer(
|
||||||
self.props["output_rate"] = 12000
|
2,
|
||||||
if "hd_output_rate" not in self.props:
|
PropertyLayer(
|
||||||
self.props["hd_output_rate"] = 48000
|
output_rate=12000,
|
||||||
|
hd_output_rate=48000,
|
||||||
|
digital_voice_codecserver="",
|
||||||
|
).readonly()
|
||||||
|
)
|
||||||
|
|
||||||
self.chain = ClientDemodulatorChain(
|
self.chain = ClientDemodulatorChain(
|
||||||
self._getDemodulator("nfm"),
|
self._getDemodulator("nfm"),
|
||||||
|
Loading…
Reference in New Issue
Block a user