Re: AUValidation
Re: AUValidation
- Subject: Re: AUValidation
- From: William Stewart <email@hidden>
- Date: Thu, 8 Jan 2004 17:21:31 -0800
On 30/12/2003, at 8:48 AM, stiwi kirch wrote:
Yes, yes, yes, stupid me. Never ever assume that a data-structure is
initialized properly. In this case buzZer is not jet initialized
properly but is already receiving a call by AUV. I did not expect that
any host would call Filter::reset() before BuzZer::Initialize(). But
ok. You never know until you know, you know. ;)
Now buzZer does not crash AUV anymore but there is still one error.
ERROR: Parameter did not retain set value when Initialized. I think
that's what Urs is referring to.
[quote] - during Initialize, no parameter values must be changed
[/quote]
Is there a proper procedure to handle this problem?
Yes - separate the storage of your parameter values from your
initialized state = the Apple SDK for AU Development does this by
storing parameter values in the Element objects that are created for
each scope (ie. one input, one output element for example)
Bill
Thank you all for your help,
stiwi
_______________________________________________
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.
--
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
________________________________________________________________________
__
_______________________________________________
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.