• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Causes of paramErr (-50) in AudioUnitRender
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Causes of paramErr (-50) in AudioUnitRender (From: Chris Adamson <email@hidden>)
 >Re: Causes of paramErr (-50) in AudioUnitRender (From: Doug Wyatt <email@hidden>)

  • Prev by Date: Re: mac os x : Unplugging headphones or changing the sampling rate cause the audio to stop
  • Next by Date: RE: mac os x : Unplugging headphones or changing the sampling ratecause the audio to stop
  • Previous by thread: Re: Causes of paramErr (-50) in AudioUnitRender
  • Next by thread: Multichannel Mixer bus panning
  • Index(es):
    • Date
    • Thread