From ec601f8af0b09eefb1913bd1a7dfeeca1109da22 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 14 Mar 2021 14:29:26 +0100 Subject: LV2/makeplugin: ctrl ports know their name and symbol. Could possibly flesh out this to a proper class, but a hash is ok enough for now. --- plugins/LV2/lib/makeplugin/plugin_info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/LV2/lib') diff --git a/plugins/LV2/lib/makeplugin/plugin_info.rb b/plugins/LV2/lib/makeplugin/plugin_info.rb index 0cbc896..f6644c8 100644 --- a/plugins/LV2/lib/makeplugin/plugin_info.rb +++ b/plugins/LV2/lib/makeplugin/plugin_info.rb @@ -91,7 +91,7 @@ module MakePlugin if line =~ /void #{@name}::(\w+)/ fun = $1 elsif fun == 'getParameterName' and line =~ /case\s+kParam([A-Z])\:\s+vst_strncpy\s*\([^,]*,\s*\"(\w+)\",/ - @ctrl_ports << $2 + @ctrl_ports << { sym: $1, name: $2 } end end end -- cgit v1.2.3