mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-15 16:40:46 +00:00
Update factory.py
fix bug in factorybuilder
This commit is contained in:
parent
9a239bc061
commit
328998f7e8
@ -47,14 +47,14 @@ class FactoryBuilder:
|
|||||||
|
|
||||||
def make_strip(self) -> Self:
|
def make_strip(self) -> Self:
|
||||||
self._factory.strip = tuple(
|
self._factory.strip = tuple(
|
||||||
strip(self.kind.phys_in < i, self._factory, i)
|
strip(i < self.kind.phys_in, self._factory, i)
|
||||||
for i in range(self.kind.num_strip)
|
for i in range(self.kind.num_strip)
|
||||||
)
|
)
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def make_bus(self) -> Self:
|
def make_bus(self) -> Self:
|
||||||
self._factory.bus = tuple(
|
self._factory.bus = tuple(
|
||||||
bus(self.kind.phys_out < i, self._factory, i)
|
bus(i < self.kind.phys_out, self._factory, i)
|
||||||
for i in range(self.kind.num_bus)
|
for i in range(self.kind.num_bus)
|
||||||
)
|
)
|
||||||
return self
|
return self
|
||||||
|
Loading…
Reference in New Issue
Block a user