Re: parameter persistence and view?
Re: parameter persistence and view?
- Subject: Re: parameter persistence and view?
- From: 除村 武志 <email@hidden>
- Date: Wed, 15 Apr 2009 10:01:26 +0900
On 2009/04/15, at 4:12, William Stewart wrote:
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
That's a good news for me.
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?
No, no such problem occurs with other plug-ins.
One thing I'm concerned about is
I haven't written any explicit codes
to refresh the view to reflect current parameter values
(because my plugin doesn't have to change parameters by itself).
Do you think it's related to my problem?
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:
@apple.com
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