Pass through getParameter and setParameter

This commit is contained in:
Robbert van der Helm
2020-03-05 17:00:45 +01:00
parent 814a3b40b5
commit bea600a13a
5 changed files with 91 additions and 10 deletions
+10 -1
View File
@@ -77,6 +77,11 @@ class PluginBridge {
// plugin (through the Wine VST host).
boost::asio::local::stream_protocol::socket host_vst_dispatch;
boost::asio::local::stream_protocol::socket vst_host_callback;
/**
* Used for both `getParameter` and `setParameter` since they mostly
* overlap.
*/
boost::asio::local::stream_protocol::socket host_vst_parameters;
/**
* This socket only handles updates of the `AEffect` struct instead of
@@ -89,6 +94,10 @@ class PluginBridge {
* The thread that handles dispatch events from the host.
*/
std::thread dispatch_handler;
/**
* The thread that responds to `getParameter` and `setParameter` requests.
*/
std::thread parameters_handler;
// TODO: Set up all other callback handlers
// TODO: Set up process and processReplacing callback handlers
};