• 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: AUValidation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUValidation


  • Subject: Re: AUValidation
  • From: Urs Heckmann <email@hidden>
  • Date: Tue, 30 Dec 2003 15:50:43 +0100

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.

  • Follow-Ups:
    • Re: AUValidation
      • From: "Robert Fehse" <email@hidden>
References: 
 >AUValidation (From: stiwi kirch <email@hidden>)

  • Prev by Date: Re: debugging AudioUnits
  • Next by Date: Re: AUValidation
  • Previous by thread: Re: AUValidation
  • Next by thread: Re: AUValidation
  • Index(es):
    • Date
    • Thread