mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
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:
parent
cd7341cd6a
commit
98769796d7
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue