Skip to content

Commit

Permalink
AudioIn: Add num_channels argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Feb 18, 2024
1 parent ecca0aa commit f4b99cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auxiliary/scripts/auto-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f4b99cf

Please sign in to comment.