[LV2] --SPAM--::Re: [Devel] lv2_descriptor() considered harmful

Stefan Kersten sk at k-hornz.de
Sat Feb 25 10:22:54 PST 2012


hi martin,

On 25.02.12 00:58, Martin wrote:
> I just started developing lv2 plugins and am currently working on a wrapper
> which should be able to create new plugins without recompiling (and hard coding
> the plugin URI).

out of curiosity, how do you generate the code at runtime?

> As indicated by the subject of this mail I found a similar topic:
> http://lists.lv2plug.in/htdig.cgi/devel-lv2plug.in/2011-October/000063.html
> 
>  - the requested feature is exactly what I'm missing at the moment.
> 
> 
> apart from getting the bundle path it would also be useful to get the requested
> URI directly from the host (if possible).
> 
> typedef int (*LV2_Init_Function)(const char*                bundle_path,
>                                  const char*                plugin_URI,
>                                  const LV2_Feature *const * features);
> 
> 
> 
> are there any plans to introduce a new init?

i'd second that request; for a host i'm working on i created an extension
specifically for this but it would be nicer to have a "standard" mechanism.

<sk>



More information about the Devel mailing list