• 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
Audio Unit - Saving/Loading custom data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Audio Unit - Saving/Loading custom data?


  • Subject: Audio Unit - Saving/Loading custom data?
  • From: Drake Ironman <email@hidden>
  • Date: Sat, 23 Feb 2008 12:24:20 +0000

Im trying to write a AU to do ... well nothing really. Now I've managed to figure out how to do that (It always claims to be on bypass), and has a custom view (although the XCode templates don't appear to work).

The idea is that the AU has a custom view with a TextView to allow people to make notes on a track (mic setup etc). Now I need to save/ restore the serialized content of this TextView but I'm not sure how to do it.

Obviously the GetPropertyInfo/GetProperty calls are used to pass info between the custom view and the AUEffect; I can see how that works easily enough. But how do I (within GetProperty) sore/restore my binary content so that it gets stored (as with AU parameter values) by the AH host.

Sounds like it should be simple and I get the impression that SaveState might have a role to play.

Can anyone help?

Rich

P.S. Logic's visual indication of 'Bypass' doesn't relate to the AU's bypass value - even thought the actual audio path does. _______________________________________________
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: Audio Unit - Saving/Loading custom data?
      • From: Drake Ironman <email@hidden>
    • Re: Audio Unit - Saving/Loading custom data?
      • From: Brian Willoughby <email@hidden>
  • Prev by Date: Re: Speaker Audio when Headphone connected?
  • Next by Date: Re: Speaker Audio when Headphone connected?
  • Previous by thread: Re: Speaker Audio when Headphone connected?
  • Next by thread: Re: Audio Unit - Saving/Loading custom data?
  • Index(es):
    • Date
    • Thread