Re: [linux-audio-dev] Re: proposed initial DTD for LADSPA-gui-xml .. licensing issues ...

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Re: proposed initial DTD for LADSPA-gui-xml .. licensing issues ...
From: Paul Sladen (paul_AT_sladen.org)
Date: Tue Nov 28 2000 - 08:40:54 EET


On Mon, 27 Nov 2000, David Benson wrote:

> On Mon, 27 Nov 2000, Steve Harris wrote:
>
> > On Sun, Nov 26, 2000 at 09:33:22PM -0500, Paul Barton-Davis wrote:
> > > the proposal, back in march or whenever, was to add:
> > >
> > > const char *(*xml_gui_description)();
> > >
> > > to the plugin API, and allow that it could be NULL if the plugin
> > > author chose not to supply a spec for the GUI in this way.
> >
> > Much better. I can defualt it to loading foo.xml, as long as I can find
> > what directory my .so file is in.
>
> Actually, it seems like it's the hosts responsibility
> to look for a file on the file system (in particular,
> i'd prefer these files could be in separate dirs -- for standards
> compliance it is a must since one is arch-dependent and the other
> arch-independent.)
>
> That is, i'd leave get_xml == NULL in this case
> and have the host-specification talk about this.

My only take on this is that the XML file perhaps should compilied in so
that the XML spec for the layout is known to match /that/ version/build of
the plugin.

> > Hints at the possiblity of dynamic/multiple interfaces too, depending on
> > when xml_gui_description() is called.
> >
> > if (getenv("RUNNING_IN_ARDOUR")) {
> > return ardour_lookalike_gui;
> > } else {
> > return other_thing;
> > }

No,no, not good idea, I think is should be up to the user to select which
interface they want to use with the plugin.

Though I don't see why *ARDOUR*, when IT loads the plugin/gui should not
check whether:

  strstr(read_tag("/ladspa-gui/plugin1/gui1/header/suggested-app"),
                  "Ardour");

and set that gui as the default if it does...not that the user shouldn't
be able to select some other gui /if/ they so choose so.

EG: a mixer plug gui with pots, rather than slider.

Paul

--
e: paul_AT_sladen.org   t: 0115 922 7162


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Tue Nov 28 2000 - 09:30:55 EET