[LV2] State: load order port values vs dictionary

David Robillard d at drobilla.net
Thu Nov 14 00:23:36 PST 2019


On Sun, 2019-10-27 at 20:16 +0100, Johannes Lorenz wrote:
> Hello,
> 
> 
> Lv2's state homepage says: "The goal is for an instance's state to
> be 
> completely described by port values (as with all LV2 plugins) and a 
> simple dictionary". I think this means that
> 
> * the port values are to be saved/loaded by the host in the usual
> Lv1 
> manner
> * the dictionary is saved/loaded using the `LV2_State_Interface`
> 
> Now, if a host needs to load an Lv2 plugin and has both port values
> and 
> dictionary available in its savefile, in what order must that host
> load 
> these two? Are there even cases where the order could matter?

It doesn't matter, port values are only used when the plugin is run()
anyway.

-- 
dr




More information about the Devel mailing list