diff options
author | David Robillard <d@drobilla.net> | 2014-01-24 00:55:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-01-24 00:55:35 +0000 |
commit | 1cb9f77d07c998108d0ba54811ac4604a2b49725 (patch) | |
tree | 9816ff3058bcc18af86cb785bdac4857c1000181 /plugins/eg04-sampler.lv2/sampler.c | |
parent | c12e45895f93e7bf3b42c43cf45208b28208a252 (diff) | |
download | lv2-1cb9f77d07c998108d0ba54811ac4604a2b49725.tar.xz |
atom: Deprecate Blank and Resource in favour of just Object.
atom: Add lv2_atom_forge_is_object_type() and lv2_atom_forge_is_blank() to ease backwards compatibility.
atom: Add lv2_atom_forge_key() for terser object writing.
patch: Add patch:sequenceNumber for associating replies with requests.
lv2specgen: Display deprecated warning on classes marked owl:deprecated.
Diffstat (limited to 'plugins/eg04-sampler.lv2/sampler.c')
-rw-r--r-- | plugins/eg04-sampler.lv2/sampler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg04-sampler.lv2/sampler.c b/plugins/eg04-sampler.lv2/sampler.c index 70f31c5..ee17312 100644 --- a/plugins/eg04-sampler.lv2/sampler.c +++ b/plugins/eg04-sampler.lv2/sampler.c @@ -342,7 +342,7 @@ run(LV2_Handle instance, default: break; } - } else if (is_object_type(uris, ev->body.type)) { + } else if (lv2_atom_forge_is_object_type(&self->forge, ev->body.type)) { const LV2_Atom_Object* obj = (const LV2_Atom_Object*)&ev->body; if (obj->body.otype == uris->patch_Set) { // Received a set message, send it to the worker. |