Skip to content

Commit

Permalink
signalflow_cli: Unset device/backend names
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Feb 18, 2024
1 parent 4ad81e5 commit 2439e3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auxiliary/libs/signalflow_cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def run_list_output_device_names(output_backend_name: str = None):
config = AudioGraphConfig()
if output_backend_name:
config.output_backend_name = output_backend_name
config.output_device_name = ""
graph = AudioGraph(config=config, start=False)
print("Available output device names:")
for name in graph.output_device_names:
Expand All @@ -71,6 +72,7 @@ def run_list_output_device_names(output_backend_name: str = None):
def run_list_output_backend_names():
config = AudioGraphConfig()
config.output_backend_name = "dummy"
config.output_device_name = ""
graph = AudioGraph(config=config, start=False)
print("Available output backend names:")
for name in graph.output_backend_names:
Expand Down

0 comments on commit 2439e3b

Please sign in to comment.