Re: Offline rendering in a AUGraph using a Generic Output node on iOS
Re: Offline rendering in a AUGraph using a Generic Output node on iOS
- Subject: Re: Offline rendering in a AUGraph using a Generic Output node on iOS
- From: Chris Adamson <email@hidden>
- Date: Mon, 04 Mar 2013 05:59:20 -0500
Can you show the AudioStreamBasicDescription that you will be getting from the output unit (ie, outputUnit's output scope, bus 0)?
If it's stereo and its flags set kAudioFormatFlagIsNonInterleaved, then your AudioBufferList should have two AudioBuffers. That's a common source of -50's when calling AudioUnitRender().
--Chris
On Mar 3, 2013, at 7:55 AM, David Blake <email@hidden> wrote:
> In my research however no one seems to have an example of how to actually called AudioUnitRender from outside an existing callback. I have also come across historical posts from this list with people not sure if this even possible in a graph and you actually just have to interact with a single node itself? Has anyone achieved this, and if so do you think you could post some example code? I have posted my code below but I am getting the dreaded error -50 when I call AudioUnitRender()
_______________________________________________
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