It is an AU yes.
It seems that the thePlayHead->getCurrentPosition(newTime) won’t fill the data properly if it’s called from a timerCallback() but will do it nicely from the processBlock().
Do go deeper in the debug I noticed that
if (CallHostBeatAndTempo (&info.ppqPosition, &info.bpm) != noErr) from a timerCallback() will not return an error but won’t update position and bpm neither. If i debug even deeper inside CallHostBeatAndTempo my Xcode will just crash…
I’m guessing that Logic doesn’t allow any plugin instance to get the host data outside the processBlock time allocated?
Would that mean that I can not access host data if my plugin is just a midi sequencer and doesn’t require a processBlock() implementation?
thanks for the help