• 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: Paremeter changes by the user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Paremeter changes by the user


  • Subject: Re: Paremeter changes by the user
  • From: Howard Moon <email@hidden>
  • Date: Thu, 17 Jun 2004 10:41:45 -0700

In the header file I wrote the following(I got this from AUEffectBase.h):

/virtual void SetParameter(UInt32 paramID, Float32 value)
{
Globals()->SetParameter(paramID, value);
}/

This compiles fine. I then changed it to:

/virtual void SetParameter(UInt32 paramID, Float32 value);/

and wrote the following in the implementation file:

/void SetParameter(UInt32 paramID, Float32 value)
{
Globals()->SetParameter(paramID, value);
}/

Now it won't compile because it doesn't understand "Globals".

Without looking at the rest of your question, I can see right away the problem here: you've left out the class name in the implementation. It should be something like this:

void MyAUEffectClass::SetParameter( UInt32 paramID, Float32 value )

(but change MyAUEffectClass to the actual name of your class).

-Howard
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Paremeter changes by the user
      • From: Aristotel Digenis <email@hidden>
References: 
 >Paremeter changes by the user (From: Aristotel Digenis <email@hidden>)
 >Re: Paremeter changes by the user (From: William Stewart <email@hidden>)
 >Re: Paremeter changes by the user (From: Aristotel Digenis <email@hidden>)

  • Prev by Date: Re: Paremeter changes by the user
  • Next by Date: Re: Paremeter changes by the user
  • Previous by thread: Re: Paremeter changes by the user
  • Next by thread: Re: Paremeter changes by the user
  • Index(es):
    • Date
    • Thread