Re: Property notification questions
Re: Property notification questions
- Subject: Re: Property notification questions
- From: Chris Reed <email@hidden>
- Date: Thu, 13 Feb 2003 09:55:58 -0600
On Thursday, Feb 13, 2003, at 02:13 US/Central, Urs Heckmann wrote:
Am Mittwoch, 12.02.03, um 23:19 Uhr (Europe/Berlin) schrieb Bill
Stewart:
Create a bunch of private parameters that aren't going to be
registered or have values in the scope objects...
While having my first coffee, this seems to be an outstanding idea.
So you define something like kAudioUnitScope_Private and implement
your private Parameters just like the Globals?
Or is it just that GetParameterList has to be modified to only report
the "public" parameters while staying silent about the "private" ones?
Right, I think. If the private params aren't reported by
GetParameterList/GetParameterInfo then they only you will know about
them. Another way, or maybe the better way, would be to override
GetParameter/SetParameter.
I think this is much more versatile than the Readable/Writable stuff
we had some time ago.
I think this would be most useful in conjunction with private
properties. Use the parameters for notifications but not values, and
then have the listener ask for the property values. This would let you
have non-float values.
-chris
_______________________________________________
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.