Reuse VST2 audio processing buffers on plugin side

This commit is contained in:
Robbert van der Helm
2021-05-23 15:25:36 +02:00
parent 4e81c1c2b3
commit 8429919dfe
3 changed files with 61 additions and 30 deletions
+2 -1
View File
@@ -31,7 +31,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
objects on both sides. This greatly reduces the overhead of our VST3 bridging
by getting rid of all memory allocations during audio processing.
- VST2 audio processing also received the same optimizations. In a few places
yabridge would still reallocate heap data during audio processing.
yabridge would still reallocate heap data during audio processing. We now make
sure to always reuse all buffers used in the audio processing process.
- Considerably optimized both VST2 and VST3 audio processing by preventing
unnecessary memory operations. As it turns out, the underlying binary
serialization library used by yabridge would always reinitialize the type-safe