• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Updating a View component about indexed parameter states
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Updating a View component about indexed parameter states
      • From: Andrew Kimpton <email@hidden>
References: 
 >Updating a View component about indexed parameter states (From: Andrew Kimpton <email@hidden>)
 >Re: Updating a View component about indexed parameter states (From: William Stewart <email@hidden>)
 >Re: Updating a View component about indexed parameter states (From: Andrew Kimpton <email@hidden>)

  • Prev by Date: Re: Updating a View component about indexed parameter states
  • Next by Date: AuVal Error
  • Previous by thread: Re: Updating a View component about indexed parameter states
  • Next by thread: Re: Updating a View component about indexed parameter states
  • Index(es):
    • Date
    • Thread