AUHosting destroys base AU before AUView
AUHosting destroys base AU before AUView
- Subject: AUHosting destroys base AU before AUView
- From: Marc Poirier <email@hidden>
- Date: Wed, 18 Jun 2003 13:24:49 -0500 (CDT)
I just noticed that AudioUnitHosting, when de-instantiating an AU, will
destroy the base AU component first and then the AUView component. I'm
not sure that there has been a protocol specified for this, but I would
think that the opposite order might be better. For one thing, the AUView
may need to remove property listeners which requires a reference to the
base AU component instance, which in the case of AUH's behavior, is no
longer valid. And I came upon this because I am working on something that
was making the assumption that the view would always be killed before the
audio part and relied on something from the audio part in the view's
destructor. Anyway, maybe this is one of those intentional kooky things
in that this-could-happen-so-be-prepared sort of ways, or maybe it really
shoudn't be this way and it's a mistake, I'm not sure, so I thought I'd
bring it up...
Marc
_______________________________________________
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.