mirror of
https://github.com/onyx-and-iris/xair-api-python.git
synced 2024-11-15 17:40:57 +00:00
swap i, remote order for consistency.
This commit is contained in:
parent
e9ef113b5c
commit
a3473d5922
@ -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(),
|
||||
|
@ -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
|
||||
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user