openwebrx-clone/owrx/source/fifi.py
2019-12-21 20:58:28 +01:00

10 lines
240 B
Python

from . import SdrSource
class FifiSdrSource(SdrSource):
def getCommand(self):
return "arecord -D hw:2,0 -f S16_LE -r {samp_rate} -c2 -"
def getFormatConversion(self):
return "csdr convert_s16_f | csdr gain_ff 30"