• 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
subclassing AUIOElement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

subclassing AUIOElement


  • Subject: subclassing AUIOElement
  • From: "Chris Bennett" <email@hidden>
  • Date: Sun, 20 Aug 2006 15:27:01 -0400

Dear List,

Well, this is sort of a last resort for me.  I've been through the
docs (btw - I really like the new Audio Units Programming Guide!) and
the topic has been addressed maybe two times on the lists.  But I am
having a terrible time properly subclassing AUIOElement.  I believe
that I need to do this in order to support ACL - I need channel
information because I am working with various surround formats.

Anyway, I thought I was doing everything correctly, but I keep getting
a 10868 error from AUVal (which is a supported format error?).  These
are my steps:
1 - subclass AUIOElement in my subclass of AUEffectBase (and yes, I've
properly overriden SupportedNumChannels, PBL, and obviously not using
and Kernels).  I did a typedef of MyOutputElement as an AUElement.

2 - I've overriden CreateElement, and in
case kAudioUnitScope_Output:
return new MyOutputElement(this);

3 - There is no 3... I thought I would just need to override
GetChannelLayoutTags, et al and then ACL would be supported.  However,
I never make it to this step due to the error mentioned above.  Also I
am a bit confused what exactly to specify in my override of these
virtual functions, I know I can't just return 0 as in AUScopeElement,
hehe, but would I call a GetProperty with the related propertyIDs
here?

Any help would be greatly greatly appreciated.

Thanks guys!

~cb


-- Chris Bennett Program Director, WVUM

[t] 305/284.3474
[f] 305/284.3132
[e] email@hidden
[w] http://wvum.org
_______________________________________________
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


  • Prev by Date: [Fwd: Re: XCode 2.4 and 32/64-bit universal binaries]
  • Next by Date: Re: XCode 2.4 and 32/64-bit universal binaries
  • Previous by thread: [Fwd: Re: XCode 2.4 and 32/64-bit universal binaries]
  • Next by thread: Universal AU not showing in AUVal or any hosts
  • Index(es):
    • Date
    • Thread