aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-07-28 20:54:12 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-07-28 20:54:12 +0200
commit388bac5ba227b9ba3a71c92570a0d3d6717cca16 (patch)
tree3c0a73868cbb04f5712a6436bf6255a35b22838d /include
parent4e7ce79573a772f8f3b06fdfcdee45629a9fe4ae (diff)
downloadsynthpod-388bac5ba227b9ba3a71c92570a0d3d6717cca16.tar.xz
bin: deprecate JACK session, add NSM switch-mode.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_app.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/synthpod_app.h b/include/synthpod_app.h
index c3e28d36..0de492d1 100644
--- a/include/synthpod_app.h
+++ b/include/synthpod_app.h
@@ -51,6 +51,9 @@ typedef void (*sp_system_port_del)(void *data, void *sys_port);
typedef void (*sp_close_request_t)(void *data);
+typedef void (*sp_opened_t)(void *data, int status);
+typedef void (*sp_saved_t)(void *data, int status);
+
enum _sp_app_features_t {
SP_APP_FEATURE_FIXED_BLOCK_LENGTH = (1 << 0),
SP_APP_FEATURE_POWER_OF_2_BLOCK_LENGTH = (1 << 1)
@@ -120,6 +123,8 @@ struct _sp_app_driver_t {
bool cpu_affinity;
sp_close_request_t close_request;
+ sp_opened_t opened;
+ sp_saved_t saved;
};
sp_app_t *
@@ -193,6 +198,9 @@ int
sp_app_com_event(sp_app_t *app, LV2_URID otype);
void
+sp_app_bundle_reset(sp_app_t *app);
+
+void
sp_app_bundle_load(sp_app_t *app, LV2_URID urn, bool via_app);
void