• 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: 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
  • Follow-Ups:
    • Re: SupportedNumChannels problem
      • From: "Kevin Dixon" <email@hidden>
References: 
 >MIDIOutputCallback (From: Chad Wagner <email@hidden>)
 >SupportedNumChannels problem (From: "Kevin Dixon" <email@hidden>)

  • Prev by Date: Re: host for offline units?
  • Next by Date: Re: adding parameters to an Audio Unit
  • Previous by thread: SupportedNumChannels problem
  • Next by thread: Re: SupportedNumChannels problem
  • Index(es):
    • Date
    • Thread