Unverified Commit bf5c4aff authored by Jakob Görgen's avatar Jakob Görgen
Browse files

symphony/orchestration: system allow to set latencies for all channels

parent 90e4b61a
......@@ -76,7 +76,11 @@ class System(util_base.IdObj):
for chan in channels:
chan.set_latency(amount, ratio)
def latencies(self, amount: int, ratio: util_base.Time, channel_type: tp.Any) -> None:
def latencies(
self, amount: int, ratio: util_base.Time, channel_type: tp.Any | None = None
) -> None:
relevant_channels = self._all_channels
if channel_type:
relevant_channels = list(
filter(
lambda chan: util_base.check_type(chan, channel_type),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment