Re: AUValidation
Re: AUValidation
- Subject: Re: AUValidation
- From: "Robert Fehse" <email@hidden>
- Date: Tue, 30 Dec 2003 17:02:32 +0100
printf works with AUValidation.
so placing a printf in the AUBase dispatcher helps a lot to see what (and
where!) is going wrong.
robert
>
Am 30.12.2003 um 12:04 schrieb stiwi kirch:
>
> TESTING OPEN TIMES:
>
> COLD:
>
> time to open AudioUnit: 559.750ms
>
> Bus error
>
>
>
>
>
> whoops! Bus error? I am stuck with this error message! Am i missing
>
> something?
>
>
The Bus error comes up when AUValidation crashes by BuzZer. (Took me a
>
while to realize that this doesn't crash the shell, just the app that
>
was launched by it)
>
>
Obviously, it crashes before testing the WARM opening. I suppose it
>
closes the component without initializing/deinitializing it. You gotta
>
take care of things like:
>
>
- even an unititialized AU can receive Parameter stuff and has to
>
expose properties.
>
- during Initialize, no parameter values must be changed
>
- unlike most hosts AUV checks that AUs have to deal with some incoming
>
NULL data structures upon which they just return noErr, to tell the
>
host that a certain method/property is implemented
>
>
The only meaningful design I can think of is setting up all stuff
>
during construction time, in PostConstructor (or ctor, but
>
PostConstructor looks like the more secure place). Initialize is more
>
like something that can be used to aquire some ram or stuff which
>
depends on properties.
>
>
I think it's useful to be aware of the AU lifetime, which is not always
>
obvious, while AUV gives them the hardest treatment, like checking if
>
forbidden stuff is possible...
>
>
Cheers,
>
>
;) Urs
>
>
urs heckmann
>
email@hidden
>
www.u-he-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.
_______________________________________________
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.