mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
15 lines
362 B
Python
15 lines
362 B
Python
|
|
from pycsdr.types import Format
|
||
|
|
from csdr.chain import Module
|
||
|
|
|
||
|
|
|
||
|
|
class DummyDemodulator(Module):
|
||
|
|
def __init__(self, outputFormat: Format):
|
||
|
|
self.outputFormat = outputFormat
|
||
|
|
super().__init__()
|
||
|
|
|
||
|
|
def getInputFormat(self) -> Format:
|
||
|
|
return Format.COMPLEX_FLOAT
|
||
|
|
|
||
|
|
def getOutputFormat(self) -> Format:
|
||
|
|
return self.outputFormat
|