diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-04-25 21:21:43 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-04-25 21:21:43 +0200 |
commit | 69f0a2079c0f68588e8af92cc00bdac70d2fb068 (patch) | |
tree | fe905e04aeb7f0dbcb713dba5293f23f9835351d /include | |
parent | 5d91e0345a895753904e59f89a09e74550bbee52 (diff) | |
download | synthpod-69f0a2079c0f68588e8af92cc00bdac70d2fb068.tar.xz |
nk: prototype spod:notificationList.
* prototype lv2:ControlPort notifications.
Diffstat (limited to 'include')
-rw-r--r-- | include/synthpod_private.h | 15 |
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(®s->synthpod.subscription_list, world, map, SYNTHPOD_PREFIX"subscriptionList"); _register(®s->synthpod.subscription_module, world, map, SYNTHPOD_PREFIX"subscriptionModule"); _register(®s->synthpod.subscription_symbol, world, map, SYNTHPOD_PREFIX"subscriptionSymbol"); + + _register(®s->synthpod.notification_list, world, map, SYNTHPOD_PREFIX"notificationList"); + _register(®s->synthpod.notification_module, world, map, SYNTHPOD_PREFIX"notificationModule"); + _register(®s->synthpod.notification_symbol, world, map, SYNTHPOD_PREFIX"notificationSymbol"); + _register(®s->synthpod.notification_value, world, map, SYNTHPOD_PREFIX"notificationValue"); } static inline void @@ -871,6 +881,11 @@ sp_regs_deinit(reg_t *regs) _unregister(®s->synthpod.subscription_list); _unregister(®s->synthpod.subscription_module); _unregister(®s->synthpod.subscription_symbol); + + _unregister(®s->synthpod.notification_list); + _unregister(®s->synthpod.notification_module); + _unregister(®s->synthpod.notification_symbol); + _unregister(®s->synthpod.notification_value); } #define _ATOM_ALIGNED __attribute__((aligned(8))) |