aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-11-05 18:40:15 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-11-05 18:40:15 +0100
commit41e98c3cb5f5832787fcfae1f5392572a96a4bc5 (patch)
tree2e3750e84e345cfd75ce2fe82ca9544a5e8398f7 /include
parent3712300508b45c86c57b318d5d0f075ad59c6a55 (diff)
downloadsynthpod-41e98c3cb5f5832787fcfae1f5392572a96a4bc5.tar.xz
prototype automation learn.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h
index ed6652fb..f6e39a9f 100644
--- a/include/synthpod_private.h
+++ b/include/synthpod_private.h
@@ -394,6 +394,7 @@ struct _reg_t {
reg_item_t source_enabled;
reg_item_t sink_enabled;
+ reg_item_t learning;
} synthpod;
struct {
@@ -677,6 +678,7 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map)
_register(&regs->synthpod.source_enabled, world, map, SYNTHPOD_PREFIX"sourceEnabled");
_register(&regs->synthpod.sink_enabled, world, map, SYNTHPOD_PREFIX"sinkEnabled");
+ _register(&regs->synthpod.learning, world, map, SYNTHPOD_PREFIX"learning");
_register(&regs->midi.Controller, world, map, LV2_MIDI__Controller);
_register(&regs->midi.channel, world, map, LV2_MIDI__channel);
@@ -924,6 +926,7 @@ sp_regs_deinit(reg_t *regs)
_unregister(&regs->synthpod.source_enabled);
_unregister(&regs->synthpod.sink_enabled);
+ _unregister(&regs->synthpod.learning);
_unregister(&regs->midi.Controller);
_unregister(&regs->midi.channel);