Further reduce allocations by reusing responses

On the plugin's side, still need to do a lot of work on the Wine side of
things.
This commit is contained in:
Robbert van der Helm
2021-05-07 17:00:43 +02:00
parent fcaac219a6
commit 671587f981
5 changed files with 49 additions and 6 deletions
@@ -489,6 +489,13 @@ class Vst3PluginProxyImpl : public Vst3PluginProxy {
*/
YaAudioProcessor::Process process_request;
/**
* The response object we'll get in return when we send the
* `process_request` object above to the Wine plugin host. This object also
* contains heap data, so we also want to reuse this.
*/
YaAudioProcessor::ProcessResponse process_response;
// Caches
/**