[gmpi] Re: Topic 7.3: Unconnected inputs/outputs

> > This option implies ALWAYS.  unconnected ports are ALWAYS given zero-filled
> > input.
> 
> Yes.
>  
> > I think you're really advocating C, then.  Some flag to identify
> > disconnected (if the plugin cares) or zero-filled (if the plugin demands
> > it).  Is that correct?
> 
> No, because I dont think the plugin should express anything, less
> complexity = more chance of correct implmentations.
> 
> If the plugin ignores the buffer (dis)connected state it will work, if the
> plugin checks the state it will be able to respond apropriatly. No
> supprises.

Ok, so this is a slight variation on other models.  The plugin ALWAYS gets
connections on all audio ports.  Disconnected inputs are zero-filled and
flagged as 'disconnected'.  Similar for outputs.  The plugin can see this at
connection time and optimize or just use as-is.

Simple and clean, but functionally equivalent to C.

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