Getting PlayHead from AudioProcessorPlayer?

i’ve been slowly grinding away at a small daw app that uses an AudioProcessorPlayer and a Custom AudioProcessor (just one for now) to playback audio, that is all set up and working fine so far but i’m having issues getting the PlayHead from the AudioProcessorPlayer.

whenever i call player.getCurrentProcessor()->getPlayHead() it returns null, maybe due to the fact that the AudioProcessorPlayer’s PlayHead class gets created and initialised in AudioProcessorPlayer::audioDeviceIOCallbackWithContext. is there any reason its not held as a private member and is done like this and if not would it be possible to change it to make it a private member with a more simple getPlayHead() directly from the player?