mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-19 01:43:52 +02:00
Only resize VST3 shared memory buffers when needed
This is an optimization for the last commit (split into two for readability's sake).
This commit is contained in:
@@ -459,6 +459,9 @@ class Vst3Bridge : public HostBridge {
|
||||
* This returns a nullopt when `Vst3PluginInstance::process_setup` is not
|
||||
* set, or when the object instance does not support the `IAudioProcessor`
|
||||
* interface.
|
||||
*
|
||||
* A nullopt will also be returned if this is called again after shared
|
||||
* audio buffers have been set up and the audio buffer size has not changed.
|
||||
*/
|
||||
std::optional<AudioShmBuffer::Config> setup_shared_audio_buffers(
|
||||
size_t instance_id);
|
||||
|
||||
Reference in New Issue
Block a user