aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-18 04:24:47 +0000
committerDavid Robillard <d@drobilla.net>2012-03-18 04:24:47 +0000
commitb2406375a44eab0a4004f835d577411e87bb75d4 (patch)
tree491338ddfc3dad2caeac73831f2e6b8036eaebca /lv2/lv2plug.in/ns/ext
parentb9fb72a5b1344e6ebf232c575b6723f543a85891 (diff)
downloadlv2-b2406375a44eab0a4004f835d577411e87bb75d4.tar.xz
Add atom:Sound.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext')
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/atom.h1
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/atom.ttl12
2 files changed, 13 insertions, 0 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/atom.h b/lv2/lv2plug.in/ns/ext/atom/atom.h
index 0887790..0716228 100644
--- a/lv2/lv2plug.in/ns/ext/atom/atom.h
+++ b/lv2/lv2plug.in/ns/ext/atom/atom.h
@@ -48,6 +48,7 @@
#define LV2_ATOM__Property LV2_ATOM_PREFIX "Property"
#define LV2_ATOM__Resource LV2_ATOM_PREFIX "Resource"
#define LV2_ATOM__Sequence LV2_ATOM_PREFIX "Sequence"
+#define LV2_ATOM__Sound LV2_ATOM_PREFIX "Sound"
#define LV2_ATOM__String LV2_ATOM_PREFIX "String"
#define LV2_ATOM__TimeUnit LV2_ATOM_PREFIX "TimeUnit"
#define LV2_ATOM__Tuple LV2_ATOM_PREFIX "Tuple"
diff --git a/lv2/lv2plug.in/ns/ext/atom/atom.ttl b/lv2/lv2plug.in/ns/ext/atom/atom.ttl
index ed52a5e..7175ade 100644
--- a/lv2/lv2plug.in/ns/ext/atom/atom.ttl
+++ b/lv2/lv2plug.in/ns/ext/atom/atom.ttl
@@ -352,6 +352,18 @@ the same context so outputs can contain IDs that correspond to IDs of blanks in
the input.</p>
""" .
+atom:Sound
+ a rdfs:Class ;
+ rdfs:subClassOf atom:Vector ;
+ rdfs:label "Sound" ;
+ atom:cType "LV2_Atom_Sound" ;
+ lv2:documentation """
+<p>An atom:Vector of atom:Float which represents an audio waveform. The format
+is the same as the buffer format for lv2:AudioPort (except the size may be
+arbitrary). An atom:Sound inherently depends on the sample rate, which is
+assumed to be known.</p>
+""" .
+
atom:TimeUnit
a rdfs:Class ;
rdfs:label "Time Unit" ;