mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-15 16:03:55 +02:00
Add handlers for control messages and callbacks
This commit is contained in:
@@ -47,6 +47,11 @@ Vst3Bridge::Vst3Bridge(MainContext& main_context,
|
||||
|
||||
// TODO: We should send a copy of the configuration from the plugin at this
|
||||
// point config = sockets.host_vst_control.receive_single<Configuration>();
|
||||
|
||||
control_handler = Win32Thread([&]() {
|
||||
// TODO: Handle control messages
|
||||
// sockets.host_vst_control.receive_multi();
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Bridge::run() {
|
||||
|
||||
@@ -79,4 +79,9 @@ class Vst3Bridge : public HostBridge {
|
||||
* threads to exit.
|
||||
*/
|
||||
Vst3Sockets<Win32Thread> sockets;
|
||||
|
||||
/**
|
||||
* Handles control messages host over the `hsot_vst_control` sockets.
|
||||
*/
|
||||
Win32Thread control_handler;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user