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 :
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.
Is this possible in Juce?