aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext
diff options
context:
space:
mode:
Diffstat (limited to 'lv2/lv2plug.in/ns/ext')
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/atom-test.c2
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/forge.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/atom-test.c b/lv2/lv2plug.in/ns/ext/atom/atom-test.c
index 1a88d7d..3c8678f 100644
--- a/lv2/lv2plug.in/ns/ext/atom/atom-test.c
+++ b/lv2/lv2plug.in/ns/ext/atom/atom-test.c
@@ -197,7 +197,7 @@ main()
// eg_seq = (Sequence)1, 2
lv2_atom_forge_property_head(&forge, obj, eg_seq, 0);
- LV2_Atom_Sequence* seq = lv2_atom_forge_sequence_head(&forge, obj, 0);
+ LV2_Atom_Sequence* seq = lv2_atom_forge_sequence_head(&forge, obj, 0, 0);
lv2_atom_forge_audio_time(&forge, (LV2_Atom*)seq, 0, 0);
lv2_atom_forge_int32(&forge, (LV2_Atom*)seq, 1);
lv2_atom_forge_audio_time(&forge, (LV2_Atom*)seq, 1, 0);
diff --git a/lv2/lv2plug.in/ns/ext/atom/forge.h b/lv2/lv2plug.in/ns/ext/atom/forge.h
index 2790778..95e7d49 100644
--- a/lv2/lv2plug.in/ns/ext/atom/forge.h
+++ b/lv2/lv2plug.in/ns/ext/atom/forge.h
@@ -387,7 +387,8 @@ lv2_atom_forge_property_head(LV2_Atom_Forge* forge,
static inline LV2_Atom_Sequence*
lv2_atom_forge_sequence_head(LV2_Atom_Forge* forge,
LV2_Atom* parent,
- uint32_t capacity)
+ uint32_t capacity,
+ uint32_t time_type)
{
LV2_Atom_Sequence* out = (LV2_Atom_Sequence*)
lv2_atom_forge_reserve(forge, parent, sizeof(LV2_Atom_Sequence));
@@ -395,7 +396,7 @@ lv2_atom_forge_sequence_head(LV2_Atom_Forge* forge,
out->atom.type = forge->Sequence;
out->atom.size = sizeof(LV2_Atom_Sequence) - sizeof(LV2_Atom);
out->capacity = capacity;
- out->pad = 0;
+ out->time_type = 0;
}
return out;
}