Re: AUView opening before initialzation BIG HASSLE!
Re: AUView opening before initialzation BIG HASSLE!
- Subject: Re: AUView opening before initialzation BIG HASSLE!
- From: Marc Poirier <email@hidden>
- Date: Tue, 9 Sep 2003 10:38:50 -0500 (CDT)
On Tue, 9 Sep 2003, Jean-Alexis Montignies wrote:
>
> One of the Apple representatives on the list (Bill, I think) stated that AU
>
> open times to get basic properties should be kept as low as possible, in
>
> the tens of ms. Because of the nature of VST plug-ins (generally
>
> monolithic) and the way VST-AU's loader works (initialize as much as
>
> possible as early as possible, so crappily coded VSTs are less likely to
>
> crash when we ask them questions later), and also because of the way
>
> people tend to hoard those plugs, it makes sense for me to avoid going
>
> through the load sequence at all unless I absolutely have to.
>
>
It sounds more logical to handle the shortcomings of the VST format would be
>
better handled in VST-AU.
>
VST-AU could cache the required informations the first time a VST plug-in is
>
loaded.
>
>
Now if each host decides to cache those things its own way, prepare for some
>
headackes.
But only a given host knows whether it wants to cache any infor, and which
info that would be. To me I don't think that's something that the plugin
should have to guess. Most hosts don't need any special info about the
AUs at launch time. A few do, and what they need varies from one of them
to the other. So of course only the host will know if it should cache any
info, and which info that would be.
But anyway, like you say, in a way this is exacerbated by being a VST
problem. So maybe it didn't make much sense for me to respond about this
with respect to Angus' adapter. Given the peculiarities of that, it might
make sense for it to do some customized optimizations.
But, even though other AUs are expected to take only tens of ms to open,
that quickly turns into tens of seconds folks "hoard those plugs," as
Angus put it so well. So I still think, even with optimized plugs, that
hosts doing redundant scanning during every launch should be doing
something to optimize that wasteful, inefficient behavior, because even
quick open times really add up as people's AU collections increase in
size.
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.