Format code (#455)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-06-06 14:35:35 +00:00
committed by GitHub
parent 6f1bc7d683
commit 52c97ed464
6 changed files with 63 additions and 47 deletions

8
gui.py
View File

@@ -584,10 +584,14 @@ class GUI:
if d["max_output_channels"] > 0
]
input_devices_indices = [
d["index"] if "index" in d else d["name"] 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"] if "index" in d else d["name"] 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,