openwebrx-clone/owrx/source/sdrplay.py

18 lines
449 B
Python
Raw Normal View History

from .soapy import SoapyConnectorSource
class SdrplaySource(SoapyConnectorSource):
2020-03-14 00:15:25 +00:00
def getSoapySettingsMappings(self):
mappings = super().getSoapySettingsMappings()
mappings.update(
{
"bias_tee": "biasT_ctrl",
"rf_notch": "rfnotch_ctrl",
"dab_notch": "dabnotch_ctrl",
}
)
2020-03-14 00:15:25 +00:00
return mappings
def getDriver(self):
return "sdrplay"