Christian Schoenebeck skrev den 2015-01-16 00:45: > On Friday 16 January 2015 00:13:02 Nils Tonnätt wrote: >> because of bug #235 I'm trying to understand how the LV2 Plugin works. >> I'm a wannabe programmer but maybe I have found two things. > > Disclaimer: I did not write the LV2 plugin, Andreas wrote it. And I am not > into the details of the LV2 API either. I just had a glimpse at the code ...
I wrote the LV2 plugin initially, but the current Save and Restore code comes from patches by David Robillard (who happens to be the main inventor of the LV2 standard, so I guess he knows what he's doing...) >> 2. LV2_State_Status Save() stores NS_LS "state-file" with flag >> LV2_STATE_IS_PORTABLE but >> http://lv2plug.in/doc/html/state_8h.html#afb5cc1033410d51fdcdbfdd09fc7d808 >> says "Portable values MUST NOT contain filenames." > > Well, no idea about the LV2 aspects here. I mean I currently don't know what > the actual use case of "portable" data in a LV2 session data is for. Or is > there any LV2 plugin/host out there that allows to store a plugin state on > one > machine and allows to restore it on another machine (with different OS)? I haven't thought about this much, but I guess you want to be able to save your Ardour song (which includes plugin state) and give it to a friend who can load it on his/her computer. >> 2. Why are the old MapPath and MakePath restored after saving and >> restoring the state? > > No idea about that one. :) Maybe Andreas can bring some more clues into it. Sorry, I don't understand that either. That's David's code. /Andreas ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel