[gmpi] Re: Querying a plugin's structure (params, IOs, etc)

  • From: thockin@xxxxxxxxxx
  • To: GMPI list <gmpi@xxxxxxxxxxxxx>
  • Date: Fri, 2 Dec 2005 14:43:54 -0800

Anyone have opinions?  This is one of those fundamental design choices
that can set precedent for other aspects of the API...

On Tue, Nov 29, 2005 at 04:28:34PM -0800, thockin@xxxxxxxxxx wrote:
> We've got very basic plugins that can be found and loaded.
> 
> Now how do we find out what they do?  The host has to figure out all the
> control inputs, control outputs, audio inputs, audio outputs, etc.  There
> are a lot of potential models, I'd like to hear some reasons to go with
> one or the other or something totally different.
> 
> Remember that we need to be able to extract a lot of data:
>       * control ports
>         - name
>         - data type
>         - range
>         - flags
>       * audio ports
>         - name
>         - format
>         - channels
>       * nested sub-groups of the above
>       * channels
>       * ..and more
> 
> Some ideas I've already heard:
> 
> 1) Host loops from 0 to n, asking the plugin for metadata about "thing x".
> The metadata explains what each thing is.
> 
> 2) Host asks for structure and gets back an XML blob that represents
> everything.
> 
> What else?  What makes the most sense?  What will be easy to program and
> easy to expand?
> 
> Tim
> 
> ----------------------------------------------------------------------
> 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
> 

-- 
Tim Hockin
thockin@xxxxxxxxxx
Soon anyone who's not on the World Wide Web will qualify for a government 
subsidy for the home-pageless.

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