Re: Property Listener for parameter values?
Re: Property Listener for parameter values?
- Subject: Re: Property Listener for parameter values?
- From: Urs Heckmann <email@hidden>
- Date: Thu, 21 Nov 2002 14:46:25 +0100
Hi,
if I'm not completely mistaken, you should pass getProperty() a pointer
to previously allocated memory and fill that with your dsp's values.
Afterwards your GUI can free that memory again (if it's not member of
your GUI anyway)...
I simply use a RunLoopEventTimer in the GUI to ask for data to be
displayed e.g. by VU meters. (My custom controls have a timer driven
idle() function as equivalent to VST's idle())
Cheers,
;) Urs
Am Donnerstag, 21.11.02, um 14:31 Uhr (Europe/Berlin) schrieb Angus F.
Hewlett:
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.
_______________________________________________
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.