vst-rs icon indicating copy to clipboard operation
vst-rs copied to clipboard

Any idea how to improve the LOAD_POINTER hack situation?

Open Boscop opened this issue 6 years ago • 1 comments

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

Boscop avatar Apr 28 '18 18:04 Boscop

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

Phosphorus15 avatar Aug 14 '19 10:08 Phosphorus15