diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-15 00:01:12 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-15 00:32:59 +0100 |
commit | 35de5080a60fd648455557974f967f5e4090cbfb (patch) | |
tree | d44e8c75c1efffe2db69b2a239dca34b47220c43 /libs/ardour/vst_plugin.cc | |
parent | c16eb83fecb6f5eda3680f3aaf4ae83947847d35 (diff) |
add signal for VST state load
MacVST has no dedicated VST event-loop to directly handle this.
Diffstat (limited to 'libs/ardour/vst_plugin.cc')
-rw-r--r-- | libs/ardour/vst_plugin.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index 1fd8d8cd55..a3dca8b3fa 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -387,6 +387,7 @@ VSTPlugin::load_plugin_preset (PresetRecord r) sscanf (r.uri.c_str(), "VST:%d:%d", &id, &index); #endif _state->want_program = index; + LoadPresetProgram (); /* EMIT SIGNAL */ /* used for macvst */ return true; } @@ -429,6 +430,7 @@ VSTPlugin::load_user_preset (PresetRecord r) _state->wanted_chunk = raw_data; _state->wanted_chunk_size = size; _state->want_chunk = 1; + LoadPresetProgram (); /* EMIT SIGNAL */ /* used for macvst */ return true; } } |