• 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: parameter persistence and view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parameter persistence and view?


  • Subject: Re: parameter persistence and view?
  • From: William Stewart <email@hidden>
  • Date: Tue, 14 Apr 2009 12:12:51 -0700


On Apr 13, 2009, at 8:31 PM, 除村 武志 wrote:

Thanks for the answer, Bill.

Do you mean that It's necessary to add some codes to refresh the view
in overridden RestoreState?

nope - the view will find this out because the host will tell it that the parameters have changed when it sets a preset




But as far as using AULab or Garageband, the view is restored as well.
Is it just because these hosts are too nice?

that means they are doing the right thing. If logic isn't, then that could be a bug there, but this would surprise me as this is not a reported problem with other audio units is it?



Thanks, ---- Takeshi Yokemura


On 2009/04/14, at 11:16, William Stewart wrote:

the audio unit's state is saved in the property _ClassInfo - which involves calls to AUBase::SaveState and AUBase::RestoreState

If you are doing any custom parameter handling in your AU, you will need to over-ride these methods

You can also test in AULab to save a document and then open it again

Bill

On Apr 12, 2009, at 5:09 PM, 除村 武志 wrote:

Hi, all

I'm developing an audiounit synth (with generic view)
based on Audio Unit Instrument template
and have almost finished.
But I have one problem left about parameter persistence.

I've tested it on Logic Pro 7 and AU Lab,
and in processed sound output I can see the parameter persistence is working fine on both.
But only on Logic, when restarted Logic and re-open my audiounit
parameter view looks as if reverted to the default values.


Do I have to add any particular codes to fix this?


Thanks ---- Takeshi Yokemura

_______________________________________________
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


_______________________________________________ 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

_______________________________________________ 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: parameter persistence and view?
      • From: 除村 武志 <email@hidden>
References: 
 >parameter persistence and view? (From: 除村 武志 <email@hidden>)
 >Re: parameter persistence and view? (From: William Stewart <email@hidden>)
 >Re: parameter persistence and view? (From: 除村 武志 <email@hidden>)

  • Prev by Date: Re: RemoteIO unit at beginning and end of an AUGraph
  • Next by Date: Re: parameter persistence and view?
  • Previous by thread: Re: parameter persistence and view?
  • Next by thread: Re: parameter persistence and view?
  • Index(es):
    • Date
    • Thread