diff options
author | David Robillard <d@drobilla.net> | 2012-02-12 04:18:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-12 04:18:46 +0000 |
commit | 8ff6722a1f1e2ce8ccc739f345f3bcec31a15c7a (patch) | |
tree | 68c08b8ca3543201419929a7eeaee4f2a09af985 /lv2/lv2plug.in/ns/ext/atom/forge.h | |
parent | 640e1474db9cb614cc1c669e5c950682c9e8493d (diff) | |
download | lv2-8ff6722a1f1e2ce8ccc739f345f3bcec31a15c7a.tar.xz |
Finish up sequence / time type stuff.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/atom/forge.h')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/atom/forge.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/forge.h b/lv2/lv2plug.in/ns/ext/atom/forge.h index 08c1961..78c7873 100644 --- a/lv2/lv2plug.in/ns/ext/atom/forge.h +++ b/lv2/lv2plug.in/ns/ext/atom/forge.h @@ -410,15 +410,15 @@ static inline LV2_Atom_Sequence* lv2_atom_forge_sequence_head(LV2_Atom_Forge* forge, LV2_Atom* parent, uint32_t capacity, - uint32_t time_type) + uint32_t unit) { LV2_Atom_Sequence* out = (LV2_Atom_Sequence*) lv2_atom_forge_reserve(forge, parent, sizeof(LV2_Atom_Sequence)); if (out) { out->atom.type = forge->Sequence; out->atom.size = sizeof(LV2_Atom_Sequence) - sizeof(LV2_Atom); - out->capacity = capacity; - out->time_type = 0; + out->unit = unit; + out->pad = 0; } return out; } |