I’m working on a plug-in that can make use of different sound paths, each with a different number of latency samples.
I’m correctly changing the number of latency samples in the AudioProcessor via setLatencySamples (), but that does not seem to be notified to the host.
In particular, I’ve noticed that the callback method getLatencySamples () in the RTAS format is called by the wrapper only once when the plug-in is instantiated, because the host calls GetDelaySamplesLong.
How can I notify to the host (ProTools in particular, but I will need this information for the other formats as well soon) that the latency has changed and (in this case) GetDelaySamplesLong had to be called again?
Hope the question is clear