On Thu, Jul 11, 2002 at 11:46:52AM +0100, Steve Harris wrote:
> On Wed, Jul 10, 2002 at 07:34:13 +0200, Tim Goetze wrote:
> > i don't think it's appropriate for a public API in an open source
> > environment (especially one as narrow as linux audio) to choose
> > instant feature realization and/or binary compatibility over long-term
> > simplicity.
>
> Without breaking binary compatibility, I don't think there are any
> non-kludgy solutions that keep the defaults with the plugin. If we want to
> store them seperatly, then obviously its OK.
Well - why not just extend struct LADSPA_Descriptor by
/* This member indicates an array of default values for the ports,
if LADSPA_HINT_HAS_DEFAULTS is set. Valid indices vary from 0
to PortCount-1. */
float * PortDefaults;
Simple, much less cludgy, but still sucks in my opinion - but the only
kind of short term solution I'd give my personal ok to (not that this
matters).
Btw. Steve - hows RTF (sp?) going?
Richard.
--
Richard Guenther <[EMAIL PROTECTED]>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
The GLAME Project: http://www.glame.de/