aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-25 21:21:43 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-25 21:21:43 +0200
commit69f0a2079c0f68588e8af92cc00bdac70d2fb068 (patch)
treefe905e04aeb7f0dbcb713dba5293f23f9835351d /include
parent5d91e0345a895753904e59f89a09e74550bbee52 (diff)
downloadsynthpod-69f0a2079c0f68588e8af92cc00bdac70d2fb068.tar.xz
nk: prototype spod:notificationList.
* prototype lv2:ControlPort notifications.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_private.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h
index 811b9d61..7adc491e 100644
--- a/include/synthpod_private.h
+++ b/include/synthpod_private.h
@@ -381,6 +381,11 @@ struct _reg_t {
reg_item_t subscription_list;
reg_item_t subscription_module;
reg_item_t subscription_symbol;
+
+ reg_item_t notification_list;
+ reg_item_t notification_module;
+ reg_item_t notification_symbol;
+ reg_item_t notification_value;
} synthpod;
};
@@ -642,6 +647,11 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map)
_register(&regs->synthpod.subscription_list, world, map, SYNTHPOD_PREFIX"subscriptionList");
_register(&regs->synthpod.subscription_module, world, map, SYNTHPOD_PREFIX"subscriptionModule");
_register(&regs->synthpod.subscription_symbol, world, map, SYNTHPOD_PREFIX"subscriptionSymbol");
+
+ _register(&regs->synthpod.notification_list, world, map, SYNTHPOD_PREFIX"notificationList");
+ _register(&regs->synthpod.notification_module, world, map, SYNTHPOD_PREFIX"notificationModule");
+ _register(&regs->synthpod.notification_symbol, world, map, SYNTHPOD_PREFIX"notificationSymbol");
+ _register(&regs->synthpod.notification_value, world, map, SYNTHPOD_PREFIX"notificationValue");
}
static inline void
@@ -871,6 +881,11 @@ sp_regs_deinit(reg_t *regs)
_unregister(&regs->synthpod.subscription_list);
_unregister(&regs->synthpod.subscription_module);
_unregister(&regs->synthpod.subscription_symbol);
+
+ _unregister(&regs->synthpod.notification_list);
+ _unregister(&regs->synthpod.notification_module);
+ _unregister(&regs->synthpod.notification_symbol);
+ _unregister(&regs->synthpod.notification_value);
}
#define _ATOM_ALIGNED __attribute__((aligned(8)))