this was asked before for RTAS. Is there a way to notify the AU host that the latency is changed? The AU doc says that this should be possible :
[i]kAudioUnitProperty_Latency
…
If the sample latency for your audio unit varies, use this property to report the maximum latency. Alternatively, you can update the kAudioUnitProperty_Latency property value when latency changes, and issue a property change notification using the Audio Unit Event API.
I haven’t added latency change notification to the API, but I’m sure it could be done. Too busy working on other areas to task-switch over to plugin coding at the moment, though…