get AUAudioUnit from AudioUnit

I have an AudioUnit which is a v3 audio unit. The AUAudioUnit subclass is defined in my app and used internally. How can I get a pointer to the AUAudioUnit from the AudioUnit.


Background: I'm trying to replace my AVAudioEngine code with AUGraph due to a serious bug in AVAudioEngine: https://forums.developer.apple.com/message/213425#213425


thanks!