I'm having trouble updating kAudioUnitProperty_Latency in an AU after the plugin has been initialized. Just sending property changed events to the AU host for kAudioUnitProperty_Latency does not seem to do the trick in Logic Pro X, and I can't find a good way to make it reset.
I'm aware that a host can't really seamlessly change the latency compensation, but I'm fine with glitches since this is not something that happens a lot (and definitely not possible to automate or anything like that).
Is it at all possible? I really want to avoid having a fixed large delay and compensate internally. (Not because of the complexity, but because I don't want to add more latency than needed in the general case.)