How to pull audio from an AUGraph for bounces?
How to pull audio from an AUGraph for bounces?
- Subject: How to pull audio from an AUGraph for bounces?
- From: Daniel Oberhoff <email@hidden>
- Date: Mon, 21 May 2007 21:24:32 +0200
Hi,
I am trying to find out how to play audio from an AUGraph into my own sample buffers. It seems I always need an output unit at the end of the graph, so for playback I get the default output unit. But that way I never get so touch the rendered buffers. Now I would like to make a "bounce" of the audio, i.e. record the output of the graph into my own buffers, and I cannot find out how to do so. I was wondering if maybe one of the available output units is set for this. I see an "kAudioUnitSubType_GenericOutput" subtype defined in AUComponent.h, but have no Idea how to use this. I also see the RecordToAudioFile sample that sets an input callback to get the data, but there it directly calls the render method on the input unit, and I am not so sure if this is the way to do it, since the graph should be responsible for pulling from the units.
Help appreciated,
Daniel Oberhoff |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden