diff options
author | Robin Gareus <robin@gareus.org> | 2018-07-30 15:41:52 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-07-30 15:42:17 +0200 |
commit | 98769796d7c70bd22e952b2e3507f6d4fbd11267 (patch) | |
tree | 43043b9cc1e9eac6915b8bdf67d74a2e83febbb6 /libs/ardour/session_vst.cc | |
parent | cd7341cd6af0e10afd43452f1e529519c8124df2 (diff) |
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
Diffstat (limited to 'libs/ardour/session_vst.cc')
-rw-r--r-- | libs/ardour/session_vst.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/session_vst.cc b/libs/ardour/session_vst.cc index 37887fa03e..3252698bf4 100644 --- a/libs/ardour/session_vst.cc +++ b/libs/ardour/session_vst.cc @@ -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; |