• 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
presets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

presets


  • Subject: presets
  • From: Benjamin Golinvaux <email@hidden>
  • Date: Wed, 9 Oct 2002 22:28:44 +0200

I have special properties in my AudioUnits that I want to save when saving the AU state,
but i don't want these to be seen in the generic view, thus i don't want to use AU parameters for these props.
(For example, a property of a particular UI element I'm using in the user interface.)

What's the best way to save/restore those properties ?

I see that AUBase::SaveState(CFPropertyListRef* outData) and AUBase::RestoreState(CFPropertyListRef inData) are virtual calls.

Does this mean it is a good idea for me to override these calls in my AUBase subclass, first call the base version, and then add/read my custom info to/from the CFPropertyListRef ?

Thanks.

Benjamin Golinvaux
Arboretum Systems, Inc.
www.arboretum.com
_______________________________________________
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.

  • Follow-Ups:
    • Re: presets
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: Can't compile AU
  • Next by Date: Logic 5.4/X (AU hosting) released
  • Previous by thread: Re: AUGraph wiring question
  • Next by thread: Re: presets
  • Index(es):
    • Date
    • Thread