aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-02-15 20:28:17 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-02-15 20:28:17 +0100
commitd696a26fb9547554c29e5149d56e43dcd3e993c1 (patch)
tree19084a06198b1c4e9ba7d7bf7e435ec2826f0592 /include
parentb5fb343103c7e2633c1b282d959861491b619a75 (diff)
downloadsynthpod-d696a26fb9547554c29e5149d56e43dcd3e993c1.tar.xz
plug: prototype spod:stereo thread-safe restore.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_app.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/synthpod_app.h b/include/synthpod_app.h
index b6f8f814..4188913b 100644
--- a/include/synthpod_app.h
+++ b/include/synthpod_app.h
@@ -159,10 +159,21 @@ LV2_State_Status
sp_app_save(sp_app_t *app, LV2_State_Store_Function store,
LV2_State_Handle state, uint32_t flags, const LV2_Feature *const *features);
+LV2_Atom_Object *
+sp_app_stash(sp_app_t *app, LV2_State_Retrieve_Function retrieve,
+ LV2_State_Handle state, uint32_t flags, const LV2_Feature *const *features);
+
LV2_State_Status
sp_app_restore(sp_app_t *app, LV2_State_Retrieve_Function retrieve,
LV2_State_Handle state, uint32_t flags, const LV2_Feature *const *features);
+const void *
+sp_app_state_retrieve(LV2_State_Handle state, uint32_t key, size_t *size,
+ uint32_t *type, uint32_t *flags);
+
+const LV2_Feature *const *
+sp_app_state_features(sp_app_t *app, void *prefix_path);
+
bool
sp_app_bypassed(sp_app_t *app);