mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-01-22 00:00:20 +01:00
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 a new issue