Help: getting processed audio data in host

I need help.

I am developing plugin host app. It loads a plugin, adds node to ProcessorGraph, and successfully plays thru AudioProccessPlayer.

I need to get output audio data. E. g. I want to save audio file.

Please suggest examples and classes I can use for this.

Thank you in advance!