openwebrx-clone/owrx/source/sdrplay.py
2020-12-27 13:52:49 +01:00

20 lines
540 B
Python

from .soapy import SoapyConnectorSource
class SdrplaySource(SoapyConnectorSource):
def getSoapySettingsMappings(self):
mappings = super().getSoapySettingsMappings()
mappings.update(
{
"bias_tee": "biasT_ctrl",
"rf_notch": "rfnotch_ctrl",
"dab_notch": "dabnotch_ctrl",
"if_mode": "if_mode",
"external_reference": "extref_ctrl",
}
)
return mappings
def getDriver(self):
return "sdrplay"