mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 20:10:13 +02:00
Prevent data races in host callbacks
This commit is contained in:
@@ -268,8 +268,8 @@ intptr_t PluginBridge::host_callback(AEffect* /*plugin*/,
|
||||
void* data,
|
||||
float option) {
|
||||
HostCallbackDataConverter converter(plugin, time_info);
|
||||
return send_event(vst_host_callback, converter, opcode, index, value, data,
|
||||
option, std::nullopt);
|
||||
return send_event(vst_host_callback, host_callback_semaphore, converter,
|
||||
opcode, index, value, data, option, std::nullopt);
|
||||
}
|
||||
|
||||
intptr_t VST_CALL_CONV host_callback_proxy(AEffect* effect,
|
||||
|
||||
Reference in New Issue
Block a user