Re: AUHosting destroys base AU before AUView
Re: AUHosting destroys base AU before AUView
- Subject: Re: AUHosting destroys base AU before AUView
- From: Bill Stewart <email@hidden>
- Date: Wed, 18 Jun 2003 21:32:40 -0700
Quite right - I'd consider this a bug in AUHosting that will be fixed.
Bill
On Wednesday, June 18, 2003, at 11:24 AM, Marc Poirier wrote:
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.
--
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.