mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
20 lines
538 B
Python
20 lines
538 B
Python
from csdr.chain.demodulator import ServiceDemodulator
|
|
from owrx.vdl2.dumpvdl2 import DumpVDL2Module, VDL2MessageParser
|
|
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(),
|
|
VDL2MessageParser(),
|
|
])
|
|
|
|
def getFixedAudioRate(self) -> int:
|
|
return 105000
|
|
|
|
def supportsSquelch(self) -> bool:
|
|
return False
|