mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2026-04-19 07:43:30 +00:00
implements events for patch composite
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
import PySimpleGUI as psg
|
||||
|
||||
|
||||
def get_asio_checkbox_index(channel, num):
|
||||
if channel == 0:
|
||||
return 2 * num - 2
|
||||
@@ -22,8 +19,9 @@ def get_input_device_list(vm):
|
||||
|
||||
def get_patch_composite_list(kind):
|
||||
temp = []
|
||||
for i in range(1, kind.phys_out + 1):
|
||||
[temp.append(f"IN#{i} {channel}") for channel in ("Left", "Right")]
|
||||
for i in range(kind.phys_out + 1, kind.phys_out + kind.virt_out + 1):
|
||||
[temp.append(f"IN#{i} {channel}") for channel in ("Left", "Right", "Center", "LFE", "SL", "SR", "BL", "BR")]
|
||||
for i in range(kind.phys_out):
|
||||
[temp.append(f"IN#{i + 1} {channel}") for channel in ("Left", "Right")]
|
||||
for i in range(kind.phys_out, kind.phys_out + kind.virt_out):
|
||||
[temp.append(f"IN#{i + 1} {channel}") for channel in ("Left", "Right", "Center", "LFE", "SL", "SR", "BL", "BR")]
|
||||
temp.append(f"BUS Channel")
|
||||
return temp
|
||||
|
||||
Reference in New Issue
Block a user