diff options
author | David Robillard <d@drobilla.net> | 2012-02-23 01:53:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-23 01:53:15 +0000 |
commit | c2cc2607f8d5b9eea933a18abd91b2ce708fc90c (patch) | |
tree | 9923ca1257024897eccad5aae61c74cd37ce6609 /plugins/eg-sampler.lv2/uris.h | |
parent | c69ce6e891824fc64022a3615542fc30edc89cd7 (diff) | |
download | lv2-c2cc2607f8d5b9eea933a18abd91b2ce708fc90c.tar.xz |
Separately define body types for atoms with non-trivial bodies so the type definitions are useful when only the body is available (e.g. state API).
Use a single int64_t stamp for frame times since range is more important now and subframes was never really used anyway.
Add atom:frameTime and atom:beatTime for serialising events.
Consistently use name "body" for all types of atom bodies.
Add lv2_atom_forge_atom() and lv2_atom_forge_raw() for constructing arbitrary atoms.
Merge similar string-like forge methods.
Update language URI requirements to match current (and hopefully permanent, geeze) http://lexvo.org reality.
Diffstat (limited to 'plugins/eg-sampler.lv2/uris.h')
-rw-r--r-- | plugins/eg-sampler.lv2/uris.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/eg-sampler.lv2/uris.h b/plugins/eg-sampler.lv2/uris.h index de1cbd3..8d0a983 100644 --- a/plugins/eg-sampler.lv2/uris.h +++ b/plugins/eg-sampler.lv2/uris.h @@ -107,8 +107,8 @@ static inline const LV2_Atom* read_set_file(const SamplerURIs* uris, const LV2_Atom_Object* obj) { - if (obj->otype != uris->msg_Set) { - fprintf(stderr, "Ignoring unknown message type %d\n", obj->otype); + if (obj->body.otype != uris->msg_Set) { + fprintf(stderr, "Ignoring unknown message type %d\n", obj->body.otype); return NULL; } |