add a static flag to force writing LV2 state
authorRobin Gareus <robin@gareus.org>
Wed, 21 Sep 2016 01:45:57 +0000 (03:45 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 21 Sep 2016 01:45:57 +0000 (03:45 +0200)
commit1acfb11cb663dbda25ec1f9fa920008171559ad9
treed1e064c47fded5afaf19774660fa36dc628c81b5
parentad0aef7dce247ac69fc9c86554d0acbe6c3045bd
add a static flag to force writing LV2 state

This is needed for save-as and archiving, LV2 state may not be saved
otherwise if lilv_state_equals() returns true.

Also if thestate is saved as part of save-as or archiving or
template, the state-version did increase.
Upcoming normal save will reference a plugin state that does not exist
in the current session bundle.
libs/ardour/ardour/lv2_plugin.h
libs/ardour/lv2_plugin.cc