diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-06-20 15:36:49 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-06-20 15:36:49 +0200 |
commit | c890305707ed33fa5146769bf0b1de8408ec5981 (patch) | |
tree | ac9eb64802042d8702045563dd84004f879aa8ed /include | |
parent | 35fd0314182d0d9ed414862370b46cfea221069b (diff) | |
download | synthpod-c890305707ed33fa5146769bf0b1de8408ec5981.tar.xz |
api: prototype support for port connection gains.
Diffstat (limited to 'include')
-rw-r--r-- | include/synthpod_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h index 13ec5a1f..c9776745 100644 --- a/include/synthpod_private.h +++ b/include/synthpod_private.h @@ -233,6 +233,7 @@ struct _reg_t { struct { reg_item_t sample_rate; + reg_item_t gain; } param; struct { @@ -517,6 +518,7 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map) _register(®s->core.designation, world, map, LV2_CORE__designation); _register(®s->param.sample_rate, world, map, LV2_PARAMETERS__sampleRate); + _register(®s->param.gain, world, map, LV2_PARAMETERS__gain); _register(®s->bufsz.nominal_block_length, world, map, LV2_BUF_SIZE_PREFIX "nominalBlockLength"); _register(®s->bufsz.max_block_length, world, map, LV2_BUF_SIZE__maxBlockLength); @@ -756,6 +758,7 @@ sp_regs_deinit(reg_t *regs) _unregister(®s->core.designation); _unregister(®s->param.sample_rate); + _unregister(®s->param.gain); _unregister(®s->bufsz.nominal_block_length); _unregister(®s->bufsz.max_block_length); |