summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Options.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-09-16 16:59:35 +0000
committerDavid Robillard <d@drobilla.net>2012-09-16 16:59:35 +0000
commit86709c5f5345f3a481a28ed378d303331297a466 (patch)
tree3b8509970ce8e6ca7a436ea26f99886e35605b73 /src/server/LV2Options.hpp
parent6f7651bbc136dedc303f435648ff13880cd2b505 (diff)
downloadingen-86709c5f5345f3a481a28ed378d303331297a466.tar.gz
ingen-86709c5f5345f3a481a28ed378d303331297a466.tar.bz2
ingen-86709c5f5345f3a481a28ed378d303331297a466.zip
Support latest options and morph extensions.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4776 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/LV2Options.hpp')
-rw-r--r--src/server/LV2Options.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/LV2Options.hpp b/src/server/LV2Options.hpp
index fd3801f1..ee8e3ee6 100644
--- a/src/server/LV2Options.hpp
+++ b/src/server/LV2Options.hpp
@@ -57,13 +57,13 @@ struct LV2Options : public Ingen::LV2Features::Feature {
Engine& engine = block->parent_graph()->engine();
URIs& uris = engine.world()->uris();
const LV2_Options_Option options[] = {
- { uris.bufsz_minBlockLength, sizeof(int32_t), uris.atom_Int,
- &_block_length },
- { uris.bufsz_maxBlockLength, sizeof(int32_t), uris.atom_Int,
- &_block_length },
- { uris.bufsz_sequenceSize, sizeof(int32_t), uris.atom_Int,
- &_seq_size },
- { 0, 0, 0, NULL }
+ { LV2_OPTIONS_INSTANCE, 0, uris.bufsz_minBlockLength,
+ sizeof(int32_t), uris.atom_Int, &_block_length },
+ { LV2_OPTIONS_INSTANCE, 0, uris.bufsz_maxBlockLength,
+ sizeof(int32_t), uris.atom_Int, &_block_length },
+ { LV2_OPTIONS_INSTANCE, 0, uris.bufsz_sequenceSize,
+ sizeof(int32_t), uris.atom_Int, &_seq_size },
+ { LV2_OPTIONS_INSTANCE, 0, 0, 0, 0, NULL }
};
LV2_Feature* f = (LV2_Feature*)malloc(sizeof(LV2_Feature));