Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Any idea how to improve the LOAD_POINTER hack situation? #44

Open
Boscop opened this issue Apr 28, 2018 · 1 comment
Open

Any idea how to improve the LOAD_POINTER hack situation? #44

Boscop opened this issue Apr 28, 2018 · 1 comment

Comments

@Boscop
Copy link
Member

Boscop commented Apr 28, 2018

Not a real problem (unless the same plugin dll is loaded into different hosts at the same time) but if you have an idea how to do it better, we should improve this:
https://github.com/rust-dsp/rust-vst/blob/04258d15fa49e0aec5d38bcbe1839a635aeed7f4/src/host.rs#L710-L755

@Phosphorus15
Copy link

Maybe consider using the Closure unpacking technique to pass the host pointer. 🎉

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

No branches or pull requests

3 participants