It appears that Logic X is doing weird things with the AudioPlayHead. I do this in the processBlock() function:
playHead->getCurrentPosition(_CurrentPlayHeadInfo);
For a few calls to processBlock(), usually 1 or 2, the _CurrentPlayHeadInfo structure is filled with garbage or old information. Any idea what is going on here and how to make sure that the structure is filled with up-to-date information?
Cheers,
Vincent