On Sun, 2007-04-22 at 19:49 +0100, Chris Cannam wrote:
It would be nice to see it support DSSI properly as
well. Most DSSI plugins
don't expose a LADSPA descriptor function directly, so it won't work with
them, but it could very easily retrieve the LADSPA descriptor from a DSSI
descriptor (thus providing all the information any DSSI plugin has in common
with LADSPA, with only a couple of extra lines of code) or be extended to
print out DSSI descriptor information as well.
Hmmm... interesting. [dssi~] handles both LADSPA and DSSI plugins by
converting the any LADSPA descriptor returned by the descriptor function
to type (DSSI_Descriptor *), so sending it an 'info' message will give
the correct behaviour regardless of the plugin type.
However, as you rightly point out, analyseplugin will only work on DSSI
plugins if they include a ladspa_descriptor function. The problem is,
wouldn't any 'fix' for this require that analyseplugin include the
dssi.h header for the cast to DSSI_Descriptor, so we can retrieve the
LADSPA_Plugin member? Or maybe there is some clever trick to avoid
this...
Jamie