mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
No longer zero out VST3 audio buffers
Apparently we also never did this for VST2 plugins, so this should be safe. Filling the vectors with zeroes here had a non-negligible performance impact according to perf.
This commit is contained in:
@@ -39,6 +39,10 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
unions yabridge uses to differentiate between single and double precision
|
||||
floating point audio buffers, undoing all of our efforts at reusing objects
|
||||
and preventing memory allocations in the process.
|
||||
- VST3 output audio buffers are no longer zeroed out for the plugin. We did this
|
||||
for VST3 plugins, but not for VST2 plugins. Since not doing this never caused
|
||||
any issues with VST2 plugins it should also be safe to do the same thing for
|
||||
VST3 plugins. This further reduces the overhead of VST3 audio processing.
|
||||
- Further optimized VST3 audio processing by preallocating small vectors for
|
||||
event and parameter change queues.
|
||||
- VST2 audio processing also received the same small vector optimization to get
|
||||
|
||||
Reference in New Issue
Block a user