openwebrx-clone/owrx/source/rtl_sdr_soapy.py
2020-03-14 23:06:52 +01:00

12 lines
340 B
Python

from .soapy import SoapyConnectorSource
class RtlSdrSoapySource(SoapyConnectorSource):
def getSoapySettingsMappings(self):
mappings = super().getSoapySettingsMappings()
mappings.update({"direct_sampling": "direct_samp", "bias_tee": "biastee"})
return mappings
def getDriver(self):
return "rtlsdr"