handle the resampler

This commit is contained in:
Jakob Ketterl 2021-03-05 19:44:45 +01:00
parent 4c5ec23ba7
commit ff9f771e1b

View File

@ -64,6 +64,9 @@ class SdrSourceEventClient(ABC):
class SdrProfileCarousel(PropertyCarousel): class SdrProfileCarousel(PropertyCarousel):
def __init__(self, props): def __init__(self, props):
super().__init__() super().__init__()
if "profiles" not in props:
return
for profile_id, profile in props["profiles"].items(): for profile_id, profile in props["profiles"].items():
self.addLayer(profile_id, profile) self.addLayer(profile_id, profile)
# activate first available profile # activate first available profile