Re: [linux-audio-dev] Todays changes to "LADSPA2" strawman

From: Steve Harris <S.W.Harris@email-addr-hidden>
Date: Wed May 10 2006 - 16:38:59 EEST

On Wed, May 10, 2006 at 03:15:25PM +0200, Lars Luthman wrote:
> On Wed, 2006-05-10 at 13:22 +0100, Steve Harris wrote:
> > On Wed, May 10, 2006 at 01:42:16PM +0200, stefan kersten wrote:
> > > On Mon, May 08, 2006 at 09:07:48AM +0100, Steve Harris wrote:
> > > > Is there some equivalent mechanism that lets dlloaded
> > > > plugins dig function pointers out of the the host? Thier
> > > > public symbol linking system is backward too from what I
> > > > remember.
> > >
> > > one portable way is to pass a struct of function pointers
> > > filled by the host to the plugin initialization function, as
> > > done in the SuperCollider server plugin API.
> >
> > That doesn't really help for extensions.
>
> It does if the struct looks like this:
>
> struct ExtensionFunctions {
> struct {
> const char* extension_uri;
> void* function_pointer;
> }* null_terminated_function_array;
> };

OK, true, but anyway I want to avoid anything that complex until we have a
real need for it. To avoid specing anything that's not quite fit for
purpose.

- Steve
Received on Wed May 10 20:15:02 2006

This archive was generated by hypermail 2.1.8 : Wed May 10 2006 - 20:15:02 EEST