Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VST3 #20

Closed
pzandvoort opened this issue Dec 14, 2019 · 4 comments
Closed

VST3 #20

pzandvoort opened this issue Dec 14, 2019 · 4 comments

Comments

@pzandvoort
Copy link

Your comment in the VST3 section of the code says ** IT FAILED **. The interop looks solid... How did it fail?

@obiwanjacobi
Copy link
Owner

The VST3 interfaces are binary compatible with COM interfaces. The idea was to use .NET COM support to marshal calls to the .NET counterparts. I never got that working. I cannot remember the details but I think it had to do with the threading-mode (apartment-threading) of the main thread. I remember making several SO questions.
I also wanted it to be cross-platform and so I tried to use mono and experimented with using some internal API -can't remember the details- that also failed and back then the mono community was not very helpful.

@pzandvoort
Copy link
Author

I had the same thought - it looks binary compatible with COM so .net should be able to do all the marshalling for me. I got to the point where the host would load the plugin, create the AudioProcessor but then crash on initializing the EditController, like it's missing a required interface or something. Did you get farther than that?

@obiwanjacobi
Copy link
Owner

@pzandvoort
Copy link
Author

No worries - thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants