Use a thread for dispatch events

This commit is contained in:
Robbert van der Helm
2020-03-05 16:29:59 +01:00
parent 6c4dca151b
commit 814a3b40b5
6 changed files with 45 additions and 37 deletions
+3 -3
View File
@@ -84,9 +84,9 @@ follows:
3. The plugin then sets up a Unix domain socket endpoint to communicate with the
Wine VST host somewhere in a temporary directory. I chose to use Unix domain
sockets rather than shared memory to avoid having to do manual
synchronization and because it makes it easy to handle different kinds of
events asynchronously. Since the Wine VST host can't access the Linux VST
host's memory we would have to copy audio buffers in either case.
synchronization and because they have very low overhead. Since the Wine VST
host can't access the Linux VST host's memory we would have to copy audio
buffers in either case.
4. The plugin launches the Wine VST host in the detected wine prefix, passing
the name of the `.dll` file it should be loading and the path to the Unix
domain socket that was just created.