diff --git a/plugins/vst_base/RemoteVstPlugin.cpp b/plugins/vst_base/RemoteVstPlugin.cpp index f48d67bf1..f88448e2f 100644 --- a/plugins/vst_base/RemoteVstPlugin.cpp +++ b/plugins/vst_base/RemoteVstPlugin.cpp @@ -267,6 +267,17 @@ private: return ret; } + // thread-safe dispatching of plugin + int pluginDispatchNoLocking( int cmd, int param1 = 0, int param2 = 0, void * p = NULL, float f = 0 ) + { + if( m_plugin ) + { + return m_plugin->dispatcher( m_plugin, cmd, param1, param2, p, f ); + } + return 0; + } + + std::string m_shortName; HINSTANCE m_libInst;