• 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: auval error when setting stream format on N->N plug-in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auval error when setting stream format on N->N plug-in


  • Subject: Re: auval error when setting stream format on N->N plug-in
  • From: William Stewart <email@hidden>
  • Date: Thu, 26 Feb 2009 20:11:21 -0800

yes

You use the Initialise call to validate that the formats you are being asked to support are actually valid. See AUEffectBase::Initialise for a general implementation of this

Bill

On Feb 26, 2009, at 3:14 PM, Jeremy Todd wrote:

Hi,

We're preparing an Audio Unit which performs resampling, and it supports any N->N channel configuration (any number of inputs and outputs, as long as inputs == outputs). We're seeing an auval failure which is pasted below, and I don't see any reasonable way to work around it.

I think it's failing because we return noErr from ChangeStreamFormat with 3 input channels and 1 output channels. The problem is that inputs and outputs are set via separate calls to ChangeStreamFormat, so we can't validate the current combination of input and output channels until our Audio Unit is initialized. What behavior does auval expect in this case, and how exactly is an Audio Unit supposed to implement it?


Regards, Jeremy

_______________________________________________ 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: 
 >auval error when setting stream format on N->N plug-in (From: "Jeremy Todd" <email@hidden>)

  • Prev by Date: RE: Driver seems a little dizzy while running more than onmediaplayer
  • Next by Date: Re: auval error when setting stream format on N->N plug-in
  • Previous by thread: auval error when setting stream format on N->N plug-in
  • Next by thread: Re: auval error when setting stream format on N->N plug-in
  • Index(es):
    • Date
    • Thread