openwebrx-clone/owrx/source/rtl_sdr_soapy.py

12 lines
317 B
Python

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