mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Preallocate small vectors for VST3 queues
Events, parameter changes, and the individual queues contained within the parameter changes all use dynamic memory allocation. Preallocating some memory for those things inside of the objects may prevent latency spikes when they those objects are first filled. This is especially useful for the parameter changes since there's no way to reserve memory in a vector of vectors.
This commit is contained in:
@@ -36,6 +36,8 @@ 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.
|
||||
- Further optimized VST3 audio processing by preallocating small vectors for
|
||||
event and parameter change queues.
|
||||
- Changed the way mutual recursion in VST3 plugins on the plugin side works to
|
||||
counter any potential GUI related timing issues with VST3 plugins.
|
||||
- The deserialization part of yabridge's communication is now slightly faster by
|
||||
|
||||
Reference in New Issue
Block a user