• 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: SupportedNumChannels problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SupportedNumChannels problem


  • Subject: Re: SupportedNumChannels problem
  • From: "Kevin Dixon" <email@hidden>
  • Date: Tue, 4 Mar 2008 19:39:34 -0500 (EST)
  • Importance: Normal

I am inheriting from AUEffectBase. It seems that if I only have one set of
values, e.g. {{1, 1}}, and it has a mono output, then it will fail. If i
have one set of values, but in the form {{1, 2}}, then it will be fine.

Is there some requirement that all effects should be stereo output
capable, or does auval just do the first initialization test with a stereo
output?

-Kevin

> 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

  • Follow-Ups:
    • Re: SupportedNumChannels problem
      • From: William Stewart <email@hidden>
References: 
 >MIDIOutputCallback (From: Chad Wagner <email@hidden>)
 >SupportedNumChannels problem (From: "Kevin Dixon" <email@hidden>)
 >Re: SupportedNumChannels problem (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Coreaudio-api Digest, Vol 5, Issue 76
  • Next by Date: Re: SupportedNumChannels problem
  • Previous by thread: Re: SupportedNumChannels problem
  • Next by thread: Re: SupportedNumChannels problem
  • Index(es):
    • Date
    • Thread