Re: Paremeter changes by the user
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.