Re: Updating a View component about indexed parameter states
Re: Updating a View component about indexed parameter states
- Subject: Re: Updating a View component about indexed parameter states
- From: William Stewart <email@hidden>
- Date: Mon, 7 Nov 2005 11:00:51 -0800
You just have to refresh this object - the class is designed to
create all of its state when you make one, so when the param info
changes, just throw the old one out and make a new one.
Bill
On 07/11/2005, at 10:58 AM, Andrew Kimpton wrote:
On Nov 7, 2005, at 10:37 AM, William Stewart wrote:
The kAudioUnitProperty_ParameterInfo property. This is the
property that is used initially to get the information about the
parameter. This will work with the generic UIs as well
Yep - I found that this works, however there is a second problem
within my own UI code which is that CAAUParameter 'caches' a lot of
details about it's associated parameter when constructed, an array
of CFStrings for the indexed labels for example, and doesn't update
them if that list either changes in length or if it changes in
content (index label renamed for example).
Not a huge deal - since I can call back to the property directly if
I know that these things have changed, but it'd be nice to continue
using the CAAUParameter 'friendly' methods.
Bill
Andrew 9-)
--
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
________________________________________________________________________
__
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden