Re: SupportedNumChannels problem
Re: SupportedNumChannels problem
- Subject: Re: SupportedNumChannels problem
- From: William Stewart <email@hidden>
- Date: Tue, 4 Mar 2008 14:51:34 -0800
If you are inheriting from AUEffectBase, then its Initialise call is
validating the format of the AU at that time based on this information.
If you are inheriting from AUBase, then there is no such work being
done for you, so you'd have to verify that yourself
Bill
On Mar 3, 2008, at 10:45 PM, Kevin Dixon wrote:
I implemented SupportedNumChannels in my au as shown here
UInt32 sscau::SupportedNumChannels(const AUChannelInfo ** outInfo) {
static const AUChannelInfo myInfo[1] = {{1, 1}};
if(outInfo)
*outInfo = myInfo;
return sizeof(myInfo) / sizeof(AUChannelInfo);
}
But when i run auval on my AU I get format not supported error -10868
Is there something I'm missing? I had this problem before, but I
ended up
adding another item to the myInfo, and it went away.
-Kevin
_______________________________________________
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
_______________________________________________
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