mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-13 20:09:59 +02:00
Cache VST3 parameter information
This is in some cases needed to get decent performance in REAPER, as REAPER seems to query this information (which cannot change without the plugin requesting a restart) four times per second.
This commit is contained in:
@@ -88,9 +88,9 @@ Vst3PluginBridge::Vst3PluginBridge()
|
||||
Vst3PluginProxyImpl& proxy_object =
|
||||
plugin_proxies.at(request.owner_instance_id).get();
|
||||
|
||||
// To err on the safe side, we'll just always clear out bus
|
||||
// info cache whenever a plugin requests a restart
|
||||
proxy_object.clear_bus_cache();
|
||||
// To err on the safe side, we'll just always clear out all
|
||||
// of our caches whenever a plugin requests a restart
|
||||
proxy_object.clear_caches();
|
||||
|
||||
return proxy_object.component_handler->restartComponent(
|
||||
request.flags);
|
||||
|
||||
Reference in New Issue
Block a user