aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/atom/atom.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-12 04:18:46 +0000
committerDavid Robillard <d@drobilla.net>2012-02-12 04:18:46 +0000
commit8ff6722a1f1e2ce8ccc739f345f3bcec31a15c7a (patch)
tree68c08b8ca3543201419929a7eeaee4f2a09af985 /lv2/lv2plug.in/ns/ext/atom/atom.h
parent640e1474db9cb614cc1c669e5c950682c9e8493d (diff)
downloadlv2-8ff6722a1f1e2ce8ccc739f345f3bcec31a15c7a.tar.xz
Finish up sequence / time type stuff.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/atom/atom.h')
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/atom.h11
1 files changed, 8 insertions, 3 deletions
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.:
<pre>
@@ -190,9 +195,9 @@ typedef struct {
</pre>
*/
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;