adapt to config event api changes

This commit is contained in:
Jakob Ketterl
2020-12-30 17:18:46 +01:00
parent 29703d10b2
commit cf0c6e7f9d
10 changed files with 30 additions and 32 deletions

View File

@@ -6,8 +6,8 @@ logger = logging.getLogger(__name__)
class Resampler(DirectSource):
def onPropertyChange(self, name, value):
logger.warning("Resampler is unable to handle property change ({0} changed to {1})".format(name, value))
def onPropertyChange(self, changes):
logger.warning("Resampler is unable to handle property changes: {0}".format(changes))
def __init__(self, props, sdr):
sdrProps = sdr.getProps()