diff options
author | David Robillard <d@drobilla.net> | 2011-11-23 06:39:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-23 06:39:45 +0000 |
commit | fd47b579b50dde747ae71ff94d34625dae3cb477 (patch) | |
tree | e364e6c646b22e2476cc0a1ca88c0837bedb6824 /libs/ardour/ardour/lv2_plugin.h | |
parent | fbc147d929a495cb007f4de52d40e68132555320 (diff) |
Implement latest LV2 state extension (0.4).
Corresponding patch to LinuxSampler available here: http://drobilla.net/files/linuxsampler_lv2_state_0_4.diff
git-svn-id: svn://localhost/ardour2/branches/3.0@10788 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/lv2_plugin.h')
-rw-r--r-- | libs/ardour/ardour/lv2_plugin.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/ardour/ardour/lv2_plugin.h b/libs/ardour/ardour/lv2_plugin.h index 95f730a43e..adbb26b832 100644 --- a/libs/ardour/ardour/lv2_plugin.h +++ b/libs/ardour/ardour/lv2_plugin.h @@ -143,11 +143,12 @@ class LV2Plugin : public ARDOUR::Plugin LV2_DataAccess _data_access_extension_data; LV2_Feature _data_access_feature; LV2_Feature _instance_access_feature; - LV2_Feature _path_support_feature; - LV2_Feature _new_file_support_feature; + LV2_Feature _map_path_feature; + LV2_Feature _make_path_feature; static URIMap _uri_map; static uint32_t _midi_event_type; + static uint32_t _state_path_type; static int lv2_state_store_callback (void* handle, @@ -164,12 +165,12 @@ class LV2Plugin : public ARDOUR::Plugin uint32_t* type, uint32_t* flags); - static char* lv2_files_abstract_path (void* host_data, + static char* lv2_state_abstract_path (void* host_data, const char* absolute_path); - static char* lv2_files_absolute_path (void* host_data, + static char* lv2_state_absolute_path (void* host_data, const char* abstract_path); - static char* lv2_files_new_file_path (void* host_data, - const char* relative_path); + static char* lv2_state_make_path (void* host_data, + const char* path); void init (void* c_plugin, framecnt_t rate); void run (pframes_t nsamples); |