pass direct sampling mode changes to owrx_connector
This commit is contained in:
parent
a388acdf03
commit
fbcfb550a2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user