Delay Compensation and AudioPlayHead::CurrentPositionInfo.ppqPosition

Hi all,

I try to find a way to calculate the applied delay compensation on the channel where my plug-in is instantiated. According to this thread

getCurrentPosition in AAX_wrapper reports ppqPosition without delay compensation

GetCurrentTickPosition() and GetCustomTickPosition() in the AAX Wrapper should give me a delay compensated and a non-delay compensated position of the actual playhead. I edited the juce_AAX_Wrapper and AudioPlayhead::CurrentPositionInfo to store both values but when I compare them while playing back, they are identical although there is a delay compensation applied on my audio track.
Any ideas what I’m doing wrong? Or has anybody a better idea how to retrieve the applied delay comp before the audio is hitting my plugin?

Thanks
Stefan

Yeah, good old Profools.

Read this: Can Anyone Verify / Advise? - Plugins / Delay Compensation / Timing / Downbeat - Avid Pro Audio Community

Would love to see this solved one day in a brighter future…

1 Like