From f4b99cf3a3114daeaed23982c0036261923a083e Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Sun, 18 Feb 2024 22:35:30 +0000 Subject: [PATCH] AudioIn: Add num_channels argument --- auxiliary/scripts/auto-generator.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auxiliary/scripts/auto-generator.py b/auxiliary/scripts/auto-generator.py index 1d7d8c0c..8cb902a5 100755 --- a/auxiliary/scripts/auto-generator.py +++ b/auxiliary/scripts/auto-generator.py @@ -177,7 +177,9 @@ def folder_name_to_title(folder_name: str) -> str: def parse_node_classes(source_files) -> dict[str, list[Parameter]]: classes = {} classes["io"] = [ - NodeClass("AudioIn", None, [[]], "Audio input"), + NodeClass("AudioIn", None, [[ + Parameter("num_channels", "int", 1) + ]], "Audio input"), NodeClass("AudioOut_Abstract", None, [], "Abstract audio output"), NodeClass("AudioOut_Dummy", "AudioOut_Abstract", [[ Parameter("num_channels", "int", 2),