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

> The host graph has a Y where the same input buffer feeds two plugs. If the 

So 'Don't Do That'.  I had a mentor once (still do, in fact) that when asked
any of a number of questions would reply 'Doctor, it hurts if I do this'.
So Don't do that.  You have to copy the buffer sooner or later.  Just copy
it on the way in.

It asks the question - how did you end up in that scenario?  The answer can
ONLY be that the host let you get there.

> I'm realizing that Tim's method is still OK for optimization, provided the 
> plugs tell the host whether they will run in-place or not.

If you avoid the shared-writable input problem, there is no need even for
that.  My method DOES produce an opportunity for bugs, but the host (SDK)
can easily watch for those.



----------------------------------------------------------------------
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: