Re: Initialize() and Cleanup() vs GUI
Re: Initialize() and Cleanup() vs GUI
- Subject: Re: Initialize() and Cleanup() vs GUI
- From: William Stewart <email@hidden>
- Date: Thu, 13 Jan 2005 11:37:21 -0800
Yes indeed... And your view should be completely prepared to deal with
your AU if it is Uninitialized
In fact some host apps have wanted to do more in this area - having
uninitialized AU's around because they can use considerably less memory
and other resources. However, because many AU's insist on being
initialized all the time (and views can cause crashes if the AU is
not!) this has proven to be a problematic strategy to follow.
Disappointing really, but hopefully we'll see some improvements to this
over time.
Bill
On 12/01/2005, at 8:34 PM, Marc Poirier wrote:
On Jan 12, 2005, at 9:30 PM, yoshida wrote:
Hi.
It seems that some host calls AU Initialize() and AU Cleanup() method
two or more times while GUI opened only once.
Is this expected behavior?
Sure. AU Initialize() and Cleanup() have absolutely nothing to do
with the GUI, or its instances and lifespan(s), etc. Most common
reason for multiple (re)initializations is when doing stream format
and bus configuration changes.
Marc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden