mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
15 lines
442 B
Python
15 lines
442 B
Python
|
|
from csdr.module import PopenModule
|
||
|
|
from pycsdr.types import Format
|
||
|
|
|
||
|
|
|
||
|
|
class DrmModule(PopenModule):
|
||
|
|
def getInputFormat(self) -> Format:
|
||
|
|
return Format.COMPLEX_FLOAT
|
||
|
|
|
||
|
|
def getOutputFormat(self) -> Format:
|
||
|
|
return Format.SHORT
|
||
|
|
|
||
|
|
def getCommand(self):
|
||
|
|
# dream -c 6 --sigsrate 48000 --audsrate 48000 -I - -O -
|
||
|
|
return ["dream", "-c", "6", "--sigsrate", "48000", "--audsrate", "48000", "-I", "-", "-O", "-"]
|