Re: more AU info and plugins (should be "I need to share data")
Re: more AU info and plugins (should be "I need to share data")
- Subject: Re: more AU info and plugins (should be "I need to share data")
- From: Marc Poirier <email@hidden>
- Date: Sat, 21 Jun 2003 13:40:32 -0500 (CDT)
On Sat, 21 Jun 2003, Philippe Wicker wrote:
>
Nonetheless host, AU and AU-GUI should use standardized Set/Get
>
Property/Parameter to communicate whenever it is possible. But It's
>
also true that sharing the same address space (which is not
>
contradictory) is more efficient than a call which have to cross
>
processes boundaries. It is also the simplest and the most efficient
>
way to share large data when needed.
>
>
An example is the sharing of sound samples. Another example is when the
>
AU-GUI has to draw an overview of the audio, or to plot an FFT which
>
must be computed from the actual audio (the dsp). In both cases, the
>
AU-GUI needs informations that cannot be obtained with the
>
GetProperty/Parameter mechanism.
>
>
To say the truth, this mechanism was not designed with these needs in
>
mind. A parameter may change frequently - it's in a way a real time
>
data - that must fit in a Float32, while a property is a "moderate"
>
size data which is not supposed to change frequently. Audio data is
>
neither one nor the other. In that case, sharing pointers on audio
>
buffers (or other specific data which makes sense for the couple AU<->
>
GUI) looks a reasonable way to solve the problem.
Is there some place where it says that property data is "moderate" sized
(or specifies that any further) and where it says that property values
are not supposed to change frequently? I have never heard or read
anything of the sort...
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.