Re: AU from scratch
Re: AU from scratch
- Subject: Re: AU from scratch
- From: William Stewart <email@hidden>
- Date: Thu, 11 Dec 2003 16:40:04 -0800
Scott
So how am I supposed to get notified of changes to those properties
via the GenericUI? Do I have to pick them up manually again like
parameters? I have implemented a PropertyListener callback for those
property ids, but my listener doesn't get called after changing the
values via the UI widgets. I do get called back if I manually call
SetProperty on one of those ids, so the PropertyListener seems to be
installed correctly.
I'm not sure what you need. In the DLS synth we just read the render
quality value for each render call and use whatever it's current value
is to determine what to do (but our changes as a result of this
property are fairly light weight)
If your AU needs to react to the change in a more heavy-weight way,
then overiding SetProperty from AUBase will give you the call directly
whenever anyone sets this property and you can do what you need to from
there (that's what the Synth does - overrides SetProperty for this,
stores the quality value then uses it next render cycle)
Bill
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.