openwebrx-clone/owrx/source/rtl_sdr_soapy.py
Jakob Ketterl c387fe0fe9 add fictional bias_tee mapping for rtl_sdr_soapy
needs to be implemented in SoapyRTLSDR first
2020-03-14 01:56:17 +01:00

12 lines
341 B
Python

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