pass direct sampling mode changes to owrx_connector

This commit is contained in:
Jakob Ketterl 2020-02-27 23:21:00 +01:00
parent a388acdf03
commit fbcfb550a2

View File

@ -11,3 +11,9 @@ class RtlSdrSoapySource(SoapyConnectorSource):
def getEventNames(self):
return super().getEventNames() + ["direct_sampling"]
def onPropertyChange(self, prop, value):
if prop == "direct_sampling":
prop = "settings"
value = "direct_samp={0}".format(value)
super().onPropertyChange(prop, value)