vst2
vst2 copied to clipboard
lsp attribute reading
When working with a language server for go I encounter the following errors
error PluginAllocator not declared by package vst2
error Dispatcher not declared by package vst2
error unknown field UniqueID in struct (vst2.Plugin) literal
error unknown field Version in struct (vst2.Plugin) literal
error unknown field InputChannels in struct (vst2.Plugin) literal
error unknown field OutputChannels in struct (vst2.Plugin) literal
error unknown field Name in struct (vst2.Plugin) literal
error unknown field Vendor in struct (vst2.Plugin) literal
error unknown field Category in struct (vst2.Plugin) literal
error unknown field Parameters in struct (vst2.Plugin) literal
error unknown field ProcessDoubleFunc in struct (vst2.Plugin) literal
error unknown field ProcessFloatFunc in struct (vst2.Plugin) literal
Can anything be changed in the implementation to address these issues or is this sworn to be another issue of "cgo is not go"? If the former, I don't know C or CGo, but I'd be happy to learn if you've got any good places to start on the issue Cheers.
Hello @kendfss! This package is using go's build tags to separate VST plugin and host APIs. The types you've mentioned require plugin build tag. LMK if it helps.