[LV2] Plugin instance ID

Vladimir Sadovnikov sadko4u at gmail.com
Tue Aug 25 04:57:13 PDT 2020


Hello Iurie!

No, you need to use State interface to save/restore state of the plugin.
Probably it would be good to have the State interface for the UI to separate DSP 
state from UI state.

Best,
Vladimir

25.08.2020 14:28, Iurie Nistor пишет:
> Hi,
>
> Is there a way I can get the LV2 plugin instance ID? I mean when
>
> the user adds the plugin into the track, is there any ID associated to this 
> added instance, and
>
> remains the same even after restarting the host?
>
>
> I want to use this ID to store settings about the plugin instance. Actually, 
> this can be stored
>
> into the plugin state, but I am not sure if this is right because I want to 
> store things like
>
> last directory visited by the user when browsing (with plugin UI) presets
>
> or samples, and this to be saved per plugin instance.
>
>
> Iurie
>
> _______________________________________________
> Devel mailing list
> Devel at lists.lv2plug.in
> http://lists.lv2plug.in/listinfo.cgi/devel-lv2plug.in




More information about the Devel mailing list