Modifying latency in Audio Unit
Modifying latency in Audio Unit
- Subject: Modifying latency in Audio Unit
- From: Anders Stenberg <email@hidden>
- Date: Tue, 14 Jul 2015 09:29:00 +0000
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden