On Wednesday 01 May 2013 10:37:38 pm Alexandre Bique wrote:
Hi,
I plan to write a Linux VST bridge to Windows VST. This could improve windows VST support in our native DAW.
I wonder what is the best strategy and what do you recommend? - spawn a wine vst host process from the linux vst and then do IPC through unix socket - spawn a wine vst host process from the linux vst and then do IPC through tcp socket - spawn a wine vst host process from the linux vst and then do IPC through shared memory - load the windows vst into the Linux process and directly call its functions (with appropriate calling convention).
Thanks a lot! Regards, -- Alexandre Bique
Hi! The IPC methods are feasible, UNIX sockets being the simplest and shared memory the most complex. The host process should probably be a Winelib application so you can call the native API from it. The last method of running win32 code in a native process is a no go. All but the simplest libraries expect a fully prepared runtime and Windows environment which only a Wine instance can provide. Paul Chitescu