Re: Causes of paramErr (-50) in AudioUnitRender
Re: Causes of paramErr (-50) in AudioUnitRender
- Subject: Re: Causes of paramErr (-50) in AudioUnitRender
- From: Chris Adamson <email@hidden>
- Date: Thu, 12 Aug 2010 12:56:24 -0400
Thanks for the tip. That gave me some good places to look. I think the issue came from a difference of opinion between the output unit and the buffers about interleaving (1 buffer of two-channel audio versus 2 buffers of 1-channel). Setting my unit's mStreamFormat to what my caller thinks is supposed to match the AudioBufferList has at least gotten me around the paramErr on AudioUnitRender().
--Chris
On Aug 11, 2010, at 6:16 PM, Doug Wyatt wrote:
> The short/lazy (on my part) answer is to suggest you look at our AUPublic code, in particular AUBase. AUBase::DoRender generates paramErr for a number of conditions, for example, the buffer list having the wrong number of buffers for the output format.
>
> Doug
_______________________________________________
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