Re: auval error when setting stream format on N->N plug-in
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: email@hidden
- Date: Fri, 27 Feb 2009 04:46:56 +0000
- Importance: Normal
- Sensitivity: Normal
I think auval is issuing an error before it calls Initialize - is that possible?
Jeremy
------Original Message------
From: William Stewart
To: Jeremy Todd
Cc: email@hidden
Sent: Feb 26, 2009 11:11 PM
Subject: Re: auval error when setting stream format on N->N plug-in
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