openwebrx-clone/owrx/source/rtl_sdr_soapy.py

12 lines
317 B
Python
Raw Normal View History

from .soapy import SoapyConnectorSource
class RtlSdrSoapySource(SoapyConnectorSource):
def getSoapySettingsMappings(self):
mappings = super().getSoapySettingsMappings()
mappings.update({"direct_sampling": "direct_samp"})
return mappings
2020-01-10 19:50:56 +00:00
def getDriver(self):
return "rtlsdr"