diff --git a/src/wine-host/plugin-bridge.cpp b/src/wine-host/plugin-bridge.cpp index 69d71309..73a47375 100644 --- a/src/wine-host/plugin-bridge.cpp +++ b/src/wine-host/plugin-bridge.cpp @@ -350,7 +350,7 @@ intptr_t PluginBridge::host_callback(AEffect* effect, void* data, float option) { HostCallbackDataConverter converter(effect, time_info); - return send_event(vst_host_callback, host_callback_semaphore, converter, + return send_event(vst_host_callback, host_callback_mutex, converter, std::nullopt, opcode, index, value, data, option); } diff --git a/src/wine-host/plugin-bridge.h b/src/wine-host/plugin-bridge.h index d3c213ae..72b93c33 100644 --- a/src/wine-host/plugin-bridge.h +++ b/src/wine-host/plugin-bridge.h @@ -164,7 +164,7 @@ class PluginBridge { * function being called by two threads at once. See `send_event()` for more * information. */ - std::mutex host_callback_semaphore; + std::mutex host_callback_mutex; /** * A scratch buffer for sending and receiving data during `process` and