On Oct 6, 2007, at 2:01 PM, Felipe Bruno Baytelman P. wrote:
Hi everyone. Long time no posting here.
I have an AU which performs statistics on audio and I'd like to set up a nil-output graph.
What I want is an output that asks and asks for more input, but do nothing with that, so it forces the graph to perform at full speed (decoding the audio from a AUFilePLayer, and going though the entire graph: my AU inside too).
Is there a nil output? Would it do this, or it would "suck" from the input at normal rate?
How can I do this?
the PlaySequence developer example has a "export to file" option. The basics of it are
1) swap your output unit with a generic output unit
2) tell all the AUs in the graph to go offline,
3) have a render callback on something right before the output unit with the writeAsync stuff in it,
4) call AudioUnitRender on the generic output unit.