openwebrx/csdr/chain/dumpvdl2.py

17 lines
477 B
Python
Raw Normal View History

2023-09-04 19:02:43 +02:00
from csdr.chain.demodulator import ServiceDemodulator
2023-09-08 15:38:48 +02:00
from owrx.vdl2.dumpvdl2 import DumpVDL2Module, VDL2MessageParser
2023-09-04 19:02:43 +02:00
from pycsdr.modules import Convert
from pycsdr.types import Format
class DumpVDL2(ServiceDemodulator):
def __init__(self):
super().__init__([
Convert(Format.COMPLEX_FLOAT, Format.COMPLEX_SHORT),
DumpVDL2Module(),
2023-09-08 15:38:48 +02:00
VDL2MessageParser(),
2023-09-04 19:02:43 +02:00
])
def getFixedAudioRate(self) -> int:
return 105000