mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix crashes on startup in Bitwig's bridge
This commit is contained in:
@@ -69,6 +69,10 @@ HostBridge& get_bridge_instance(const AEffect& plugin) {
|
||||
HostBridge::HostBridge(audioMasterCallback host_callback)
|
||||
: vst_host_path(find_wine_vst_host()),
|
||||
vst_plugin_path(find_vst_plugin()),
|
||||
// All the fields should be zero initialized because
|
||||
// `Vst2PluginInstance::vstAudioMasterCallback` from Bitwig's plugin
|
||||
// bridge will crash otherwise
|
||||
plugin(),
|
||||
io_context(),
|
||||
socket_endpoint(generate_endpoint_name().string()),
|
||||
socket_acceptor(io_context, socket_endpoint),
|
||||
|
||||
Reference in New Issue
Block a user