Fwd: auval fails PUBLISHED PARAMETER INFO test for aufx without 2in 2out.
Fwd: auval fails PUBLISHED PARAMETER INFO test for aufx without 2in 2out.
- Subject: Fwd: auval fails PUBLISHED PARAMETER INFO test for aufx without 2in 2out.
- From: Howard Moon <email@hidden>
- Date: Wed, 24 Aug 2005 09:48:37 -0700
Begin forwarded message: Date: August 24, 2005 9:45:10 AM PDT Subject: Re: auval fails PUBLISHED PARAMETER INFO test for aufx without 2in 2out.
On Aug 24, 2005, at 9:35 AM, Nick Mariette wrote: Hello,
I'm a relative newbie at AU programming, but I'm trying to write a 1 in 1 out AU as a first step to other non N->N AUs.
I've overridden SupportedNumChannels to return sChannels[1] = {{ 1, 1}} but when testing with auval, I get an error -10868 (ie kAudioUnitErr_FormatNotSupported) in the section "PUBLISHED PARAMETER INFO" with the output copied below. The line with "!!!!!! ins: 2, outs: 2 !!!!!!!!" is an extra debug statement I added by copying the AUEffectBase::Initialize() code and printfing the auNumInputs and auNumOutputs.
Must every AU support 2->2?
If not, and 1->1 is legitimate, what do I need to do to properly report unsupported formats, but avoid this failure in auval?
I'm confused... hopefully it's just something simple I'm missing and someone can help quickly.
Nick
Shouldn't that be sChannels[], not sChannels[1]? Array indexes start at 0 in C++, not at 1. (And also make sure to return 1 from the function.) -Howard
|
_______________________________________________
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