mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2024-11-22 10:00:46 +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)
|
||||
for key, value in self.cache["asio"].items():
|
||||
identifier, i = key.split("||")
|
||||
in_num = int(int(i) / 2) + 1
|
||||
channel = int(i) % 2
|
||||
self[f"{identifier}||IN{in_num} {channel}"].update(value=value)
|
||||
partial = get_channel_identifier_list(self.vm)[int(i)]
|
||||
self[f"{identifier}||{partial}"].update(value=value)
|
||||
for key, value in self.cache["insert"].items():
|
||||
identifier, i = key.split("||")
|
||||
partial = get_channel_identifier_list(self.vm)[int(i)]
|
||||
|
Loading…
Reference in New Issue
Block a user