mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2026-04-18 20:43:33 +00:00
Got rid of error with channels and cells not being subscriptable, but now getting -3 error trying to set eq.channel[0].cell[0].on
This commit is contained in:
@@ -65,14 +65,6 @@ class KindMapClass(metaclass=SingletonType):
|
||||
@property
|
||||
def num_bus_levels(self) -> int:
|
||||
return 8 * (self.phys_out + self.virt_out)
|
||||
|
||||
@property
|
||||
def num_bus_channels(self) -> int:
|
||||
return self.channels
|
||||
|
||||
@property
|
||||
def num_bus_cells(self) -> int:
|
||||
return self.cells
|
||||
|
||||
def __str__(self) -> str:
|
||||
return self.name.capitalize()
|
||||
@@ -86,8 +78,8 @@ class BasicMap(KindMapClass):
|
||||
asio: tuple = (0, 0)
|
||||
insert: int = 0
|
||||
composite: int = 0
|
||||
channels: int = 8
|
||||
cells: int = 7
|
||||
channels: int = 0
|
||||
cells: int = 0
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@@ -110,8 +102,8 @@ class PotatoMap(KindMapClass):
|
||||
asio: tuple = (10, 8)
|
||||
insert: int = 34
|
||||
composite: int = 8
|
||||
channels: int = 0
|
||||
cells: int = 0
|
||||
channels: int = 9
|
||||
cells: int = 7
|
||||
|
||||
|
||||
def kind_factory(kind_id):
|
||||
|
||||
Reference in New Issue
Block a user