mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-04 22:19:04 +00:00
refactor
This commit is contained in:
parent
c10fdd2a53
commit
b2e15c559e
8 changed files with 7 additions and 7 deletions
14
csdr/module/drm.py
Normal file
14
csdr/module/drm.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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", "-"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue