[LV2] jalv hacking
David Robillard
d at drobilla.net
Sat Aug 29 14:32:21 PDT 2015
On Sat, 2015-08-29 at 19:11 +0200, Hanspeter Portner wrote:
[...]
> Does this workaround work any better?
> * 'lilv_state_new_from_world'
> * 'lilv_state_to_string'
> * 'fwrite'
>
> 'lilv_state_to_string' does obviously not do any such file linking and
> thus cannot handle custom plugin state files.
Indeed. Don't do this. Aside from not supporting plugins with file
state, to make it work as a preset you would have to build the bundle
manually yourself anyway, and lilv already has known-good code for that.
(I do not understand the motivation anyway, since lilv_state_save does
not require a plugin instance)
--
dr
More information about the Devel
mailing list