swap i, remote order for consistency.

This commit is contained in:
onyx-and-iris 2024-02-08 17:54:27 +00:00
parent e9ef113b5c
commit a3473d5922
3 changed files with 4 additions and 4 deletions

View File

@ -66,7 +66,7 @@ class AuxRtn(IRtn):
) )
}, },
"send": tuple( "send": tuple(
Send.make(cls, remote, i) Send.make(cls, i, remote)
for i in range(remote.kind.num_bus + remote.kind.num_fx) for i in range(remote.kind.num_bus + remote.kind.num_fx)
), ),
"mute": mute_prop(), "mute": mute_prop(),
@ -108,7 +108,7 @@ class FxRtn(IRtn):
) )
}, },
"send": tuple( "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) for i in range(remote.kind.num_bus + remote.kind.num_fx)
), ),
"mute": mute_prop(), "mute": mute_prop(),

View File

@ -625,7 +625,7 @@ class Automix:
class Send: 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) super(Send, self).__init__(remote, index)
self.i = i + 1 self.i = i + 1

View File

@ -69,7 +69,7 @@ class Strip(IStrip):
) )
}, },
"send": tuple( "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) for i in range(remote.kind.num_bus + remote.kind.num_fx)
), ),
"mute": mute_prop(), "mute": mute_prop(),