mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-20 22:05:13 +00:00
pass direct sampling mode changes to owrx_connector
This commit is contained in:
parent
a388acdf03
commit
fbcfb550a2
1 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue