Re: AudioUnit life cycle
Re: AudioUnit life cycle
- Subject: Re: AudioUnit life cycle
- From: Jim Wintermyre <email@hidden>
- Date: Mon, 7 Oct 2002 22:02:56 -0700
>
> Next issue is static data. - Will that always be shared by every
>
> instance of an AudioUnit? If so, will static data get lost when every
>
> instance of an AudioUnit is disposed (i.e. when in Logic all instance
>
> will be replaced by others or no effect)?
>
>
Yes - by every AU IN THE SAME PROCESS...
>
>
Static data for a class is like static data in a compile unit - once its
>
there it is there until the code itself is unloaded - it really has no
>
connection with any instance of a class itself.
Just want to point out to everyone who's porting VST plugins to AU that this behavior is *different* from the way things currently work in VST. In VST, the code and data were loaded separately for each instance of the plugin, so statics were not shared among multiple instances of the same plug. For me that was always one of the annoying differences in the Mac VST implementation.
Jim
_______________________________________________
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.