diff --git a/xair_api/rtn.py b/xair_api/rtn.py index 8fd5f48..205e731 100644 --- a/xair_api/rtn.py +++ b/xair_api/rtn.py @@ -66,7 +66,7 @@ class AuxRtn(IRtn): ) }, "send": tuple( - Send.make(cls, remote, i) + Send.make(cls, i, remote) for i in range(remote.kind.num_bus + remote.kind.num_fx) ), "mute": mute_prop(), @@ -108,7 +108,7 @@ class FxRtn(IRtn): ) }, "send": tuple( - Send.make(cls, remote, i, index) + Send.make(cls, i, remote, index) for i in range(remote.kind.num_bus + remote.kind.num_fx) ), "mute": mute_prop(), diff --git a/xair_api/shared.py b/xair_api/shared.py index 538545f..32a0657 100644 --- a/xair_api/shared.py +++ b/xair_api/shared.py @@ -625,7 +625,7 @@ class Automix: class Send: - def __init__(self, remote, i, index: Optional[int] = None): + def __init__(self, i, remote, index: Optional[int] = None): super(Send, self).__init__(remote, index) self.i = i + 1 diff --git a/xair_api/strip.py b/xair_api/strip.py index 7eb292f..e6f2072 100644 --- a/xair_api/strip.py +++ b/xair_api/strip.py @@ -69,7 +69,7 @@ class Strip(IStrip): ) }, "send": tuple( - Send.make(cls, remote, i, index) + Send.make(cls, i, remote, index) for i in range(remote.kind.num_bus + remote.kind.num_fx) ), "mute": mute_prop(),