ios offline augraph render to file
ios offline augraph render to file
- Subject: ios offline augraph render to file
- From: Gregory Wieber <email@hidden>
- Date: Sun, 6 Feb 2011 09:37:21 -0800
Hello,
As a followup to my previous post, I've got a little bit more information. My generic output unit's audiounitrender is successfully called. However, the audiounitrender that I place inside that call, which is meant to render a mixer tied to a bunch of other mixers, returns a param error (-50). In other words, that mixer's render input proc works fine when it's in a remoteIO / realtime context, but when I've replaced remoteIO with generic output unit, that audiounitrender no longer works.
My thoughts are that the bufferlist being past may be the source of the param error. If the time stamps were wrong, the generic output's audiounitrender call wouldn't work.
If I'm creating a buffer for use with a generic output node, do I also have to set up some sort of buffer(s) for all the other units in my graph? Or can they all just reference the same one I've created for the generic output node?
Based on information on the coreaudio list, I've been creating the bufferlist every time through my loop, freeing it afterwards, repeating.
Final thought -- I have something strange going on with the number of buffers in my graph. My audio format is interleaved, and all of my render input proc write directly to buffer 0. However, as I've begun creating this offline bounce code I've noticed that while my format is interleaved, my render input proc is reporting that the bufferlist has 2 buffers. This is something I need to sort out, and I'm wondering if this would cause the param error (i.e, if I'm passing a bufferlist that has 1 buffer and the mixer somehow expects 2).
best,
Greg
_______________________________________________
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