I'm having trouble updating kAudioUnitProperty_Latency in an AU after the
plugin has been initialized. In VSTs the initialDelay can be changed
through resetting the plugin with "ioChanged", but I don't find any similar
way of doing it in AUs. 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 reset it similar to ioChanged.

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? All major VST hosts seem to handle it properly on
the VST side, so it feels odd if AU can't handle it. 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.)

Best regards,
Anders Stenberg - kiloHearts
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to