Add files via upload

This commit is contained in:
RVC-Boss
2023-06-06 20:34:54 +08:00
committed by GitHub
parent b7337d7bf1
commit 05b5af7c8c
2 changed files with 4 additions and 4 deletions

4
gui.py
View File

@@ -584,10 +584,10 @@ class GUI:
if d["max_output_channels"] > 0
]
input_devices_indices = [
d["index"] for d in devices if d["max_input_channels"] > 0
d["index"] if "index" in d else d["name"] for d in devices if d["max_input_channels"] > 0
]
output_devices_indices = [
d["index"] for d in devices if d["max_output_channels"] > 0
d["index"] if "index" in d else d["name"] for d in devices if d["max_output_channels"] > 0
]
return (
input_devices,