Re: Property Listener for parameter values?
Re: Property Listener for parameter values?
- Subject: Re: Property Listener for parameter values?
- From: "Angus F. Hewlett" <email@hidden>
- Date: Thu, 21 Nov 2002 13:31:56 +0000
Would there be any way to generate calls to the listener(s) from the AU
itself? Thinking from the point of view of maintaining code compatibility
with other plugin architectures, where I have direct gui<->dsp
communication and the audio object notifies the host of changes.
Also, what's the correct way (if there is one) of implementing custom
property get/set on an AU to allow other kinds of communication between the
editor and AU objects? At the moment I'm defining an arbitrary opcode
number and then calling it to allow the editor to get a pointer to the AU
object, but this doesn't seem very legit :)
Regards,
Angus.
At 02:49 PM 11/20/2002 -0500, Art Gillespie wrote:
>
That's what I use to communicate between gui & dsp, and it seems to work
>
well. (Have no idea if it's the *right* way)
>
>
Art
>
>>0xBA
>
>
> AudioUnitParameter param;
>
>
>
> param.mAudioUnit = this;
>
> param.mParameterID = theChangedParameterID;
>
> param.mScope = kAudioUnitScope_Global;
>
> param.mElement = 0;
>
>
>
> OSStatus result = AUParameterSet(NULL, NULL, ¶m,
>
> theChangedParameterValue, 0);
>
>
>
>
>
> Thanks for any advice,
>
> Marc
>
> _______________________________________________
>
> 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.
>
_______________________________________________
>
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.
>
=======================================================
Angus F. Hewlett, Technical Director
FXpansion Audio UK Ltd -
http://www.fxpansion.com
=======================================================
_______________________________________________
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.