mirror of
https://github.com/onyx-and-iris/nvda-voicemeeter.git
synced 2026-04-19 15:53:31 +00:00
implements a basic tab structure
using tabgroup ("settings", "physical", "virtual")
Patch Composite buttons placed.
Events for patch composite not yet implemented
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import PySimpleGUI as psg
|
||||
|
||||
|
||||
def get_asio_checkbox_index(channel, num):
|
||||
if channel == 0:
|
||||
return 2 * num - 2
|
||||
@@ -15,3 +18,12 @@ def get_insert_checkbox_index(kind, channel, num):
|
||||
|
||||
def get_input_device_list(vm):
|
||||
return ["{type}: {name}".format(**vm.device.output(i)) for i in range(vm.device.outs)]
|
||||
|
||||
|
||||
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")]
|
||||
return temp
|
||||
|
||||
Reference in New Issue
Block a user