[gmpi] Re: Topic 7: Audio packaging

  • From: Steve Harris <S.W.Harris@xxxxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Mon, 2 Jun 2003 21:35:51 +0100

On Mon, Jun 02, 2003 at 11:57:32 -0700, Tim Hockin wrote:
> > What is this concept of IsZero() ?
> 
> If a plugin is smart, it can see that a buffer is 'silent' without actually
> needing the data.  This saves the cost of filling the buffer, and possibly
> more, if the plugin can optimize away certain paths.

A more important pint is that the plugin can set the buffer to be a magic
pre-silenced buffer.

I still think that (in the general case) detecting "silent" buffers and
responding to them is bad mojo, but geing able to generate them for free
has its advantages.

How this plays with inplace processing is another matter, I suspect they
are mutually exclusive.

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