• 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
Pointer to effect in Audio Units Carbon View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pointer to effect in Audio Units Carbon View


  • Subject: Pointer to effect in Audio Units Carbon View
  • From: Coolidge Corner <email@hidden>
  • Date: Wed, 26 Jul 2006 14:41:13 -0700 (PDT)

Hi.  I'm new to Audio Units, am not sure if this is the right place for this, but I was hoping for some help on something.

Starting with the Audio Unit with Carbon View Template,
Say my effect class Foo inherits from AUEffectBase
Say my view class FooView inherits from AUCarbonViewBase

In FooView shouldn't I be able to call a function in my effect object with the following:

Foo* effect = (Foo*)(mEditAudioUnit);
effect->myFunction();

or maybe the first line needs to be:
Foo* effect = (Foo*)(&myEditAudioUnit);

Either way, any variables in Foo that myFunction uses are not initialized, it's not pointing to the original effect object.  Help?


Groups are talking. We´re listening. Check out the handy changes to Yahoo! Groups.
 _______________________________________________
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: Pointer to effect in Audio Units Carbon View
      • From: Shaun Wexler <email@hidden>
  • Prev by Date: Re: Clump name and AULab
  • Next by Date: Re: Pointer to effect in Audio Units Carbon View
  • Previous by thread: Re: Clocks and MusicPlayers
  • Next by thread: Re: Pointer to effect in Audio Units Carbon View
  • Index(es):
    • Date
    • Thread