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

Interop code in C# #45

Open
LeonarddeR opened this issue Nov 2, 2020 · 3 comments
Open

Interop code in C# #45

LeonarddeR opened this issue Nov 2, 2020 · 3 comments

Comments

@LeonarddeR
Copy link

Is your feature request related to a problem? Please describe.
I wonder whether it is possible to get rid of the C++/CLI code in favor of C#.

Describe the solution you'd like
In .NET 5.0, it should be possible to do something like this with DNNE, which will possibly become part of >NET itself in future. It also promises multi platform support.

Describe alternatives you've considered
Leave as it. It is likely that porting the VST2 code is more difficult than the VST3 code, which has a very small C++/CLI interop layer anyway.

@obiwanjacobi
Copy link
Owner

obiwanjacobi commented Nov 3, 2020

Yes! I so want to get rid of the C++/CLI layer for that would mean that it would become truly cross-platform. Also known as DllExport I so hope they will include that in the .NET 5 (or 6)!
Like you say, I will probably not put in the effort to fix VST 2 - there's a lot of interop code there, but VST 3 - yes, totally.

@LeonarddeR
Copy link
Author

LeonarddeR commented Nov 3, 2020 via email

@obiwanjacobi
Copy link
Owner

VST.NET 3 is starting to work. I would not even claim alpha level quality.
At this point it passes the plugin tester - meaning I am conforming to the VST 3 API.
I have not built anything real or useful with it.
If you have questions on VST.NET3 - there a separate vst3 channel on Discord.

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