[gmpi] Re: Topic 7.2: In-place processing

> Topic 7.2:  In-place processing
> ------------------------------------------
> 
> Q: Do we do in-place processing?
> 
> c) Yes.  A plugin is given inputs and produces it's own output buffers based
> on internal knowledge or other variables.  The host is not involved, except
> to furnish new buffers as requested.  The plugin must re-use or release all
> input buffers.  All inputs and outputs are unique.
> 
> d) Yes.  Option C, with the following changecl: buffers can be marked
> read-only, in which case a plugin must copy the buffer.  Input buffers can be
> non-unique, so long as no more than one instance of the buffer is writable
> (zero-filled buffer can be re-used, for example).  Ouput buffers are always
> unique (?).

All of these will work.  I like C and D.  They provide most flexibilty and
room for optimization.  They DO produce room for errors.  The error cases
can be guarded against (SDK code).


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: