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
GetCustomTickPosition() in the AAX Wrapper should give me a delay compensated and a non-delay compensated position of the actual playhead. I edited the
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?