Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

'Info' struct doesn't get updated when calling 'get_info()' when plugin updates field 'initialDelay' #121

Open
MirkoCovizzi opened this issue Mar 31, 2020 · 0 comments

Comments

@MirkoCovizzi
Copy link
Member

MirkoCovizzi commented Mar 31, 2020

Since the initial Info struct is cloned at each call of get_info(), it's not possible to collect any changes to the struct coming from the vst plugin. For example, compressors or limiters update the initialDelay field of the AEffect struct when they change type of algorithm, for example linear phasing algorithms require a higher delay needed for a correct delay compensation.

For now I solved by tapping into the AEffect struct and reading the updated initialDelay value from there, but I think a crate fix is needed here.

After a little bit of digging I found out that the issue is that some host dispatch OpCodes are missing, in particular IOChanged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants