Re: How to pull audio from an AUGraph for bounces?
Re: How to pull audio from an AUGraph for bounces?
- Subject: Re: How to pull audio from an AUGraph for bounces?
- From: Daniel Oberhoff <email@hidden>
- Date: Wed, 23 May 2007 14:59:15 +0200
Gee, thanks. Plain and simple. And I also finally found the CoreAudio
Documentation hidden in Examples/CoreAudio :).
Cheers
Daniel
Am 21.05.2007 um 23:55 schrieb William Stewart:
The PlaySequence sample code (/Developer/Examples/CoreAudio/
SimpleSDK/) has an option to write a file and does exactly what you
want
Bill
On 21/05/2007, at 12:24 PM, Daniel Oberhoff wrote:
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:
40apple.com
This email sent to email@hidden
--
mailto:email@hidden
tel: +1 408 974 4056
______________________________________________________________________
____
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
______________________________________________________________________
____
_______________________________________________
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