[gmpi] Re: Topic 7: Audio packaging, Process-In-Place

  • From: Steve Harris <S.W.Harris@xxxxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Thu, 29 May 2003 19:05:01 +0100

On Thu, May 29, 2003 at 09:31:12AM -0700, Tim Hockin wrote:
> > No, because the actual optimisation is to save a buffer copy, and only hte
> > host knows when and how thats possible.
> 
> So, indulge me, please.  If the optimized plugin follows one simple rule,
> then the PLUGIN knows more than the host.  The rule: re-use every buffer you
> can.  Now the plugin can do strange things or whetever it needs internally.
> Whenever it CAN re-use a buffer, it WILL.  This includes every plugin that
> can use the simplest method, and probably a bunch for which that was too
> restrictive.

But the plugin doesn't understand the graph, so it can;t know wether it
appropriate to run inline, and if not what (host) buffer it should be
writing to.

You need to think about how the host implements its graph code.

- Steve

----------------------------------------------------------------------
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: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: