mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 18:00:50 +00:00
use get_channel_identifier_list
for asio checkboxes
This commit is contained in:
parent
abdab7403a
commit
8aec9a4302
@ -101,9 +101,8 @@ class NVDAVMWindow(psg.Window):
|
|||||||
self[key].update(value=value)
|
self[key].update(value=value)
|
||||||
for key, value in self.cache["asio"].items():
|
for key, value in self.cache["asio"].items():
|
||||||
identifier, i = key.split("||")
|
identifier, i = key.split("||")
|
||||||
in_num = int(int(i) / 2) + 1
|
partial = get_channel_identifier_list(self.vm)[int(i)]
|
||||||
channel = int(i) % 2
|
self[f"{identifier}||{partial}"].update(value=value)
|
||||||
self[f"{identifier}||IN{in_num} {channel}"].update(value=value)
|
|
||||||
for key, value in self.cache["insert"].items():
|
for key, value in self.cache["insert"].items():
|
||||||
identifier, i = key.split("||")
|
identifier, i = key.split("||")
|
||||||
partial = get_channel_identifier_list(self.vm)[int(i)]
|
partial = get_channel_identifier_list(self.vm)[int(i)]
|
||||||
|
Loading…
Reference in New Issue
Block a user