Hi,

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.

1. The function LV2_State_Status Restore() has the parameter flags in 
PluginLv2.h but rflags in .cpp. I think that's a typo?!
Why is there actually a flags parameter when we want to retrieve it 
afterwards (or rflags when we don't use it).

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."

And two questions:
1. Why don't we store the absolute path? 
http://lv2plug.in/ns/ext/atom/#Path --> "effectively any Path sent to or 
received from a plugin instance MUST be absolute."

2. Why are the old MapPath and MakePath restored after saving and 
restoring the state?

Best regards,
Nils

------------------------------------------------------------------------------
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

Reply via email to