Fix VST callback and crash for some plugins
Apparently "MasterUpdateDisplay" is for plugins to notify the host about state changes -- and not notficy the plugin's own UI. see also http://mixbus.harrisonconsoles.com/forum/thread-6229-post-37127.html
This commit is contained in:
@@ -492,8 +492,9 @@ intptr_t Session::vst_callback (
|
||||
case audioMasterUpdateDisplay:
|
||||
SHOW_CALLBACK ("audioMasterUpdateDisplay");
|
||||
// something has changed, update 'multi-fx' display
|
||||
if (effect) {
|
||||
effect->dispatcher(effect, effEditIdle, 0, 0, NULL, 0.0f);
|
||||
/* TODO: consider emitting ParameterChangedExternally() for each ctrl input */
|
||||
if (session) {
|
||||
session->set_dirty ();
|
||||
}
|
||||
return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user