From 8ff6722a1f1e2ce8ccc739f345f3bcec31a15c7a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Feb 2012 04:18:46 +0000 Subject: Finish up sequence / time type stuff. --- lv2/lv2plug.in/ns/ext/atom/atom.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'lv2/lv2plug.in/ns/ext/atom/atom.h') diff --git a/lv2/lv2plug.in/ns/ext/atom/atom.h b/lv2/lv2plug.in/ns/ext/atom/atom.h index bea9197..5c0b3fd 100644 --- a/lv2/lv2plug.in/ns/ext/atom/atom.h +++ b/lv2/lv2plug.in/ns/ext/atom/atom.h @@ -180,6 +180,11 @@ typedef struct { This is used as the contents of an atom:EventPort, but is a generic Atom type which can be used anywhere. + The unit field is either a URID that described an appropriate time stamp + type, or may be 0 where a default stamp type is known. For + LV2_Descriptor::run(), the default stamp type is atom:AudioFrames, i.e. + LV2_Atom_Audio_Time. + The contents of a sequence is a series of LV2_Atom_Event, each aligned to 64-bits, e.g.:
@@ -190,9 +195,9 @@ typedef struct {
    
*/ typedef struct { - LV2_Atom atom; /**< Atom header. */ - uint32_t capacity; /**< Maximum size of contents. */ - uint32_t time_type; /**< URID type of event time stamps. */ + LV2_Atom atom; /**< Atom header. */ + uint32_t unit; /**< URID of unit of event time stamps. */ + uint32_t pad; /**< Currently unused. */ /* Contents (a series of events) follow here. */ } LV2_Atom_Sequence; -- cgit v1.2.1